Function: so-long-revert
so-long-revert is an interactive and byte-compiled function defined in
so-long.el.gz.
Signature
(so-long-revert)
Documentation
Revert the active so-long-action and run so-long-revert-hook.
This undoes the effects of the so-long command (which is normally called
automatically by global-so-long-mode(var)/global-so-long-mode(fun)).
For the default action, reverting will restore the original major mode, and
restore the minor modes and settings which were overridden when so-long was
invoked.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/so-long.el.gz
(defun so-long-revert ()
"Revert the active `so-long-action' and run `so-long-revert-hook'.
This undoes the effects of the `so-long' command (which is normally called
automatically by `global-so-long-mode').
For the default action, reverting will restore the original major mode, and
restore the minor modes and settings which were overridden when `so-long' was
invoked."
(interactive "@")
;; We use "@" as commands in the mode-line menu may be triggered by mouse
;; when some other window is selected.
(unless so-long--calling
(let ((so-long--calling t))
(when so-long-revert-function
(funcall so-long-revert-function)
(setq so-long--active nil))
(let ((inhibit-read-only t))
(run-hooks 'so-long-revert-hook)))))