Function: actypes::hyp-source
actypes::hyp-source is an interactive and byte-compiled function
defined in hactypes.el.
Signature
(actypes::hyp-source BUF-STR-OR-FILE)
Documentation
Display a buffer or file from a line beginning with hbut:source-prefix.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hactypes.el
(defact hyp-source (buf-str-or-file)
"Display a buffer or file from a line beginning with `hbut:source-prefix'."
(interactive
(list (prin1-to-string (get-buffer-create
(read-buffer "Buffer to link to: "))
t)))
(if (stringp buf-str-or-file)
(cond ((string-match "\\`#<buffer \"?\\([^ \n\"]+\\)\"?>" buf-str-or-file)
(hpath:display-buffer
(substring buf-str-or-file (match-beginning 1) (match-end 1))))
(t (hpath:find buf-str-or-file)))
(hypb:error "(hyp-source): Non-string argument: %s" buf-str-or-file)))