diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2011-06-25 20:08:41 +0200 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2011-06-25 20:08:41 +0200 |
commit | 74f53697495eeb2caaa73d100d19591c0ee7bfaf (patch) | |
tree | e9efa4081f5ae85fa64216c056dcc9a3cbeaaaa5 /lisp/allout.el | |
parent | 18a4ce5ea1b06bd077e87fd1ac8966b19b10ee8c (diff) | |
download | emacs-74f53697495eeb2caaa73d100d19591c0ee7bfaf.tar.gz |
Simplify unloading functions after 2011-06-25T17:42:18Z!lekktu@gmail.com.
* allout.el (allout-unload-function): Pass -1 to `allout-mode'.
* proced.el (proced-unload-function):
* progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
* ses.el (ses-unload-function):
* emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
Diffstat (limited to 'lisp/allout.el')
-rw-r--r-- | lisp/allout.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/allout.el b/lisp/allout.el index 8cdf24176b0..1d4d4a20e11 100644 --- a/lisp/allout.el +++ b/lisp/allout.el @@ -2085,7 +2085,7 @@ OPEN: A TOPIC that is not CLOSED, though its OFFSPRING or BODY may be." (save-current-buffer (dolist (buffer (buffer-list)) (set-buffer buffer) - (when (allout-mode-p) (allout-mode)))) + (when (allout-mode-p) (allout-mode -1)))) ;; continue standard unloading nil) |