Function: hypb:empty-file-p
hypb:empty-file-p is a byte-compiled function defined in hypb.el.
Signature
(hypb:empty-file-p &optional FILE)
Documentation
Return non-nil if the current buffer's file or optional FILE is empty.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260822.1645/hypb.el
(defun hypb:empty-file-p (&optional file)
"Return non-nil if the current buffer's file or optional FILE is empty."
(unless (stringp file)
(setq file (hypb:buffer-file-name)))
(when (and file (file-readable-p file))
(zerop (file-attribute-size (file-attributes file)))))