Function: hynote-find-file
hynote-find-file is an autoloaded, interactive and byte-compiled
function defined in hynote.el.
Signature
(hynote-find-file FILE &optional SECTION)
Documentation
Display an existing HyNote FILE starting at SECTION.
SECTION must be the name of a heading from the FILE and should begin with "#", though this function will add "#" if it is missing.
Return the absolute path to any file successfully found, else nil.
After successfully finding a file and reading it into a buffer, run
hynote-find-file-hook.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hynote.el
;;;###autoload
(defun hynote-find-file (file &optional section)
"Display an existing HyNote FILE starting at SECTION.
SECTION must be the name of a heading from the FILE and should begin
with \"#\", though this function will add \"#\" if it is missing.
Return the absolute path to any file successfully found, else nil.
After successfully finding a file and reading it into a buffer, run
`hynote-find-file-hook'."
(interactive (list (completing-read "Find HyNote file: "
(hynote-get-files))))
(when (and (stringp file) (file-readable-p file))
(when (and (stringp section) (not (string-prefix-p "#" section)))
(setq section (concat "#" section)))
(hpath:find (concat file section))
(hywiki-maybe-highlight-references)
(run-hooks 'hynote-find-file-hook)
file))