Function: hynote-get-file

hynote-get-file is a byte-compiled function defined in hynote.el.

Signature

(hynote-get-file FILE-STEM-NAME)

Documentation

Return existing file path in hynote-directory-list from FILE-STEM-NAME.

File name must end with default suffixes from hynote-file-suffix-list. No validation of FILE-STEM-NAME is done.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hynote.el
;;; ************************************************************************
;;; Public functions
;;; ************************************************************************

(defun hynote-get-file (file-stem-name)
  "Return existing file path in `hynote-directory-list' from FILE-STEM-NAME.
File name must end with default suffixes from `hynote-file-suffix-list'.
No validation of FILE-STEM-NAME is done."
  ;; Remove any #section from `file-stem-name'
  (setq file-stem-name (if (string-match "#" file-stem-name)
			   (substring file-stem-name 0 (match-beginning 0))
			 file-stem-name))
  (locate-file file-stem-name hynote-directory-list hynote-file-suffix-list))