emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/allout.el,v [EMACS_22_BASE]


From: Juanma Barranquero
Subject: [Emacs-diffs] Changes to emacs/lisp/allout.el,v [EMACS_22_BASE]
Date: Fri, 25 Jan 2008 15:11:19 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Branch:         EMACS_22_BASE
Changes by:     Juanma Barranquero <lektu>      08/01/25 15:11:19

Index: allout.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/allout.el,v
retrieving revision 1.94.2.5
retrieving revision 1.94.2.6
diff -u -b -r1.94.2.5 -r1.94.2.6
--- allout.el   25 Jan 2008 02:17:07 -0000      1.94.2.5
+++ allout.el   25 Jan 2008 15:11:18 -0000      1.94.2.6
@@ -2120,6 +2120,16 @@
 ;;;_  > allout-minor-mode
 (defalias 'allout-minor-mode 'allout-mode)
 
+;;;_  > allout-unload-function
+(defun allout-unload-function ()
+  "Unload the allout outline library."
+  (save-current-buffer
+    (dolist (buffer (buffer-list))
+      (set-buffer buffer)
+      (when allout-mode (allout-mode -1))))
+  ;; continue standard unloading
+  nil)
+
 ;;;_  - Position Assessment
 ;;;_   > allout-hidden-p (&optional pos)
 (defsubst allout-hidden-p (&optional pos)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]