;; Display line numbers for the current buffer.
;;
-;; Add the following to your .emacs file:
-
-;; (require 'linum)
-
-;; Then toggle display of line numbers with M-x linum-mode. To enable
+;; Toggle display of line numbers with M-x linum-mode. To enable
;; line numbering in all buffers, use M-x global-linum-mode.
;;; Code:
(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
;;; linum.el ends here