Function: hbdata:to-entry-in-buffer

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

Signature

(hbdata:to-entry-in-buffer CREATE)

Documentation

Move point to end of line in but data in current buffer.

Note: Button buffer has no file attached. With optional CREATE, if no such line exists, insert a new entry at the beginning of the hbdata (which is created if necessary). Return t.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hbdata.el
(defun hbdata:to-entry-in-buffer (create)
  "Move point to end of line in but data in current buffer.
Note: Button buffer has no file attached.  With optional CREATE,
if no such line exists, insert a new entry at the beginning of
the hbdata (which is created if necessary).  Return t."
  (if (hmail:hbdata-to-p) ;; Might change the buffer
      (setq buffer-read-only nil)
    (when create
      (setq buffer-read-only nil)
      (insert "\n" hmail:hbdata-sep "\n")))
  (backward-char 1)
  t)