Function: apheleia--buffer-hash

apheleia--buffer-hash is a natively compiled function defined in apheleia.el.

Signature

(apheleia--buffer-hash)

Documentation

Compute hash of current buffer.

Source Code

;; Defined in /nix/store/lwcwryzabcmvjcwwzzs65jrwf7p7d7cs-emacs-packages-deps/share/emacs/site-lisp/elpa/apheleia-20260915.1628/apheleia.el
(defun apheleia--buffer-hash ()
  "Compute hash of current buffer."
  (if (fboundp 'buffer-hash)
      (buffer-hash)
    (md5 (current-buffer))))