Function: hyrolo-toggle-narrow-to-entry

hyrolo-toggle-narrow-to-entry is an interactive and byte-compiled function defined in hyrolo.el.

Signature

(hyrolo-toggle-narrow-to-entry)

Documentation

Toggle between display of current entry and display of all matched entries.

Useful when bound to a mouse key.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hyrolo.el
(defun hyrolo-toggle-narrow-to-entry ()
  "Toggle between display of current entry and display of all matched entries.
Useful when bound to a mouse key."
  (interactive)
  (if (buffer-narrowed-p)
      (hyrolo-widen)
    (let (case-fold-search)
      (when (or (looking-at hyrolo-hdr-and-entry-regexp)
		(re-search-backward hyrolo-hdr-and-entry-regexp nil t))
	(forward-char)
	(narrow-to-region (1- (point)) (hyrolo-display-to-entry-end)))))
  (hyrolo-shrink-window)
  (goto-char (point-min)))