Function: hyrolo-set-display-buffer

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

Signature

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

Documentation

For current command, set HyRolo display buffer as the curr buffer.

With optional BUFFER, set the display buffer to that. Make it writeable and return the display buffer.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260822.1645/hyrolo.el
(defun hyrolo-set-display-buffer (&optional buffer)
  "For current command, set HyRolo display buffer as the curr buffer.
With optional BUFFER, set the display buffer to that.  Make it writeable and
return the display buffer."
  (hyrolo-set-buffer (get-buffer-create (or buffer hyrolo-display-buffer)))
  (when buffer (setq-local hyrolo-display-buffer buffer))
  (setq buffer-read-only nil)
  ;; This must return the current buffer name (not a buffer) or many tests
  ;; will break.
  (buffer-name))