Function: hypb:empty-file-p

hypb:empty-file-p is a byte-compiled function defined in hypb.el.

Signature

(hypb:empty-file-p)

Documentation

Return non-nil if the current buffer has an attached file of zero size.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hypb.el
(defun hypb:empty-file-p ()
  "Return non-nil if the current buffer has an attached file of zero size."
  (when (and (hypb:buffer-file-name) (file-readable-p (hypb:buffer-file-name)))
    (= (file-attribute-size (file-attributes buffer-file-name)) 0)))