Function: hui:menu-to-personal-section

hui:menu-to-personal-section is a byte-compiled function defined in hui-mini.el.

Signature

(hui:menu-to-personal-section SECTION)

Documentation

Go to top-level SECTION in personal button file; add the section if necessary.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hui-mini.el
(defun hui:menu-to-personal-section (section)
  "Go to top-level SECTION in personal button file; add the section if necessary."
  (let* ((hypb-personal-file (expand-file-name hbmap:filename hbmap:dir-user))
	 (hyrolo-file-list (list hypb-personal-file))
	 (hyrolo-add-hook)
	 (hyrolo-edit-hook)) ;; Prevent addition of dates when add navigation sections
    (if (= 1 (hyrolo-fgrep section 1 nil t t))
	(hpath:find (concat hypb-personal-file "#" section))
      (hyrolo-add section))))