Function: helpful--update-and-switch-buffer

helpful--update-and-switch-buffer is a byte-compiled function defined in helpful.el.

Signature

(helpful--update-and-switch-buffer SYMBOL CALLABLE-P)

Documentation

Update and switch to help buffer for SYMBOL.

Source Code

;; Defined in ~/.emacs.d/elpa/helpful-20250408.334/helpful.el
(defun helpful--update-and-switch-buffer (symbol callable-p)
  "Update and switch to help buffer for SYMBOL."
  (let ((buf (helpful--buffer symbol callable-p)))
    (with-current-buffer buf
      (helpful-update))
    (funcall helpful-switch-buffer-function buf)))