Mercurial > emacs
changeset 88090:b796e645bb4e
(linum-unload-function): New function.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Thu, 31 Jan 2008 10:55:31 +0000 |
parents | 3101047087f5 |
children | 5260343f5526 |
files | lisp/linum.el |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/linum.el Thu Jan 31 02:25:20 2008 +0000 +++ b/lisp/linum.el Thu Jan 31 10:55:31 2008 +0000 @@ -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