Function: hbdata:to-entry-buf

hbdata:to-entry-buf is a byte-compiled function defined in hbdata.el.

Signature

(hbdata:to-entry-buf KEY-SRC &optional DIRECTORY CREATE)

Documentation

Move point to end of line in but data buffer matching KEY-SRC.

Use hbdata file in KEY-SRC's directory, or optional DIRECTORY or if nil, use default-directory. With optional CREATE, if no such line exists, insert a new file entry at the beginning of the hbdata file (which is created if necessary). Return non-nil if KEY-SRC is found or created, else nil.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hbdata.el
(defun hbdata:to-entry-buf (key-src &optional directory create)
  "Move point to end of line in but data buffer matching KEY-SRC.
Use hbdata file in KEY-SRC's directory, or optional DIRECTORY or if nil, use
`default-directory'.
With optional CREATE, if no such line exists, insert a new file entry at the
beginning of the hbdata file (which is created if necessary).
Return non-nil if KEY-SRC is found or created, else nil."
    (if (hbdata:is-but-data-stored-in-buffer key-src)
        (hbdata:to-entry-in-buffer create)
      (hbdata:to-entry-in-file key-src directory create)))