Function: hyrolo-set-buffer

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

Signature

(hyrolo-set-buffer BUF)

Documentation

Maintain current value of hyrolo-display-buf after set-buffer.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260822.1645/hyrolo.el
(defun hyrolo-set-buffer (buf)
  "Maintain current value of `hyrolo-display-buf' after `set-buffer'."
  ;; This `set-buffer' can change the value of
  ;; `hyrolo-display-buffer' improperly, so ensure it retains the
  ;; prior value.
  (let ((display-buf hyrolo-display-buffer))
    (set-buffer buf)
    (setq-local hyrolo-display-buffer display-buf)))