]> code.delx.au - gnu-emacs/blobdiff - lisp/linum.el
Fix minor mode docstrings for the new meaning of a nil ARG.
[gnu-emacs] / lisp / linum.el
index db6e4c49977c6da1dfbf0fa67227926dd23e697f..4e58a1b7118bafb98031062b797f489538bef7cb 100644 (file)
@@ -73,7 +73,12 @@ and you have to scroll or press \\[recenter-top-bottom] to update the numbers."
 
 ;;;###autoload
 (define-minor-mode linum-mode
-  "Toggle display of line numbers in the left margin."
+  "Toggle display of line numbers in the left margin (Linum mode).
+With a prefix argument ARG, enable Linum mode if ARG is positive,
+and disable it otherwise.  If called from Lisp, enable the mode
+if ARG is omitted or nil.
+
+Linum mode is a buffer-local minor mode."
   :lighter ""                           ; for desktop.el
   (if linum-mode
       (progn