emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Juanma Barranquero
Subject: [Emacs-diffs] Changes to emacs/lisp/linum.el,v
Date: Thu, 31 Jan 2008 10:55:31 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Juanma Barranquero <lektu>      08/01/31 10:55:31

Index: linum.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/linum.el,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- linum.el    30 Jan 2008 06:39:38 -0000      1.3
+++ linum.el    31 Jan 2008 10:55:31 -0000      1.4
@@ -190,6 +190,12 @@
 (defun linum-after-config ()
   (walk-windows (lambda (w) (linum-update (window-buffer))) nil 'visible))
 
+(defun linum-unload-function ()
+  "Unload the Linum library."
+  (global-linum-mode -1)
+  ;; continue standard unloading
+  nil)
+
 (provide 'linum)
 
 ;; arch-tag: dea45631-ed3c-4867-8b49-1c41c80aec6a




reply via email to

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