]> git.eshelyaron.com Git - emacs.git/commitdiff
(linum-unload-function): New function.
authorJuanma Barranquero <lekktu@gmail.com>
Thu, 31 Jan 2008 10:59:14 +0000 (10:59 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Thu, 31 Jan 2008 10:59:14 +0000 (10:59 +0000)
lisp/ChangeLog
lisp/linum.el

index 469ff08d65241ad8d1aedfe8ed54d098e6bfe762..22db4c3fe8691b5b6d2a8d0fa80baddd42dd9a57 100644 (file)
@@ -1,3 +1,7 @@
+2008-01-31  Juanma Barranquero  <lekktu@gmail.com>
+
+       * linum.el (linum-unload-function): New function.
+
 2008-01-30  Juanma Barranquero  <lekktu@gmail.com>
 
        * emacs-lisp/check-declare.el (check-declare-directory):
@@ -70,8 +74,7 @@
 
        * image-mode.el (image-mode-current-vscroll)
        (image-mode-current-hscroll): New variables.
-       (image-set-window-hscroll, image-set-window-vscroll): New
-       functions.
+       (image-set-window-hscroll, image-set-window-vscroll): New functions.
        (image-forward-hscroll, image-next-line, image-bol, image-eol)
        (image-bob, image-eob): Use them.
        (image-reset-current-vhscroll): New function.
index 078645c4120c6a2c8ccec070dd629aa7f1807a10..2aa79e0442e5043d50dcd179adcb21cb8217b6d6 100644 (file)
@@ -190,6 +190,12 @@ and you have to scroll or press \\[recenter-top-bottom] to update the numbers."
 (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