Function: hui:key-src

hui:key-src is a byte-compiled function defined in hui.el.

Signature

(hui:key-src BUT-BUF)

Documentation

Return button key src location based on BUT-BUF, a buffer.

This is BUT-BUF when button data is stored in the buffer and the button's source file name when the button data is stored externally.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hui.el
(defun hui:key-src (but-buf)
  "Return button key src location based on BUT-BUF, a buffer.
This is BUT-BUF when button data is stored in the buffer and the
button's source file name when the button data is stored externally."
  (with-current-buffer but-buf
    (cond ((hmail:mode-is-p) but-buf)
	  ((hpath:symlink-referent (hypb:buffer-file-name but-buf)))
	  (t but-buf))))