Function: hynote-find-file-stem
hynote-find-file-stem is an autoloaded, interactive and byte-compiled
function defined in hynote.el.
Signature
(hynote-find-file-stem FILE-STEM-NAME)
Documentation
Display an existing HyNote FILE-STEM-NAME from hynote-directory-list.
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-stem (file-stem-name)
"Display an existing HyNote FILE-STEM-NAME from `hynote-directory-list'.
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-file-stems))))
(when (stringp file-stem-name)
(let ((file (hynote-get-file file-stem-name))
section)
(when (file-readable-p file)
(setq section (when (string-match "#" file-stem-name)
(substring file-stem-name (match-beginning 0))))
(when file
(hpath:find (concat file section))
(hywiki-maybe-highlight-references)
(run-hooks 'hynote-find-file-hook)
file)))))