Function: hyrolo--post-display-buffer

hyrolo--post-display-buffer is a byte-compiled function defined in hyrolo.el.

Signature

(hyrolo--post-display-buffer &optional BUFFER)

Documentation

Update the HyRolo display buffer after modifications are finished.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260822.1645/hyrolo.el
(defun hyrolo--post-display-buffer (&optional buffer)
  "Update the HyRolo display buffer after modifications are finished."
  (with-current-buffer (get-buffer-create (or buffer hyrolo-display-buffer))
    (when buffer (setq-local hyrolo-display-buffer buffer))
    (unless (or (derived-mode-p 'hyrolo-mode)
                (hyperb:stack-frame '(hyrolo-yank)))
      (hyrolo-mode))
    ;; Reverse both of the following lists to order them properly.
    (setq-local hyrolo--cache-loc-match-bounds   (nreverse hyrolo--cache-loc-match-bounds)
		hyrolo--cache-major-mode-indexes (nreverse hyrolo--cache-major-mode-indexes))))