Function: electric-help-exit
electric-help-exit is an interactive and byte-compiled function
defined in ehelp.el.gz.
Signature
(electric-help-exit)
Documentation
Exit with-electric-help, restoring the previous window/buffer configuration.
(The *Help* buffer will be buried.)
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/ehelp.el.gz
;(defun electric-help-scroll-up (arg)
; ">>>Doc"
; (interactive "P")
; (if (and (null arg) (pos-visible-in-window-p (point-max)))
; (electric-help-exit)
; (scroll-up arg)))
(defun electric-help-exit ()
"Exit `with-electric-help', restoring the previous window/buffer configuration.
\(The *Help* buffer will be buried.)"
(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 t))))