Function: electric-help-retain
electric-help-retain is an interactive and byte-compiled function
defined in ehelp.el.gz.
Signature
(electric-help-retain)
Documentation
Exit with-electric-help, retaining the current window/buffer configuration.
(The *Help* buffer will not be selected, but C-x 4 b (switch-to-buffer-other-window) RET
will select it.)
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/ehelp.el.gz
(defun electric-help-retain ()
"Exit `with-electric-help', retaining the current window/buffer configuration.
\(The *Help* buffer will not be selected, but \\[switch-to-buffer-other-window] RET
will select it.)"
(interactive)
;; Make sure that we don't throw twice, even if two events cause
;; calling this function:
(if (memq 'electric-help-retain mouse-leave-buffer-hook)
(progn
(remove-hook 'mouse-leave-buffer-hook 'electric-help-retain)
(throw 'exit '(retain)))))