]> git.eshelyaron.com Git - emacs.git/commitdiff
(visual-line-mode): Add lighter.
authorChong Yidong <cyd@stupidchicken.com>
Mon, 21 Jul 2008 03:54:03 +0000 (03:54 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 21 Jul 2008 03:54:03 +0000 (03:54 +0000)
lisp/simple.el

index a854e1dd96af0d91e129b59c514a4e6f29187a3f..66541973a7e62049806fb734c17c6a7540486f74 100644 (file)
@@ -4508,9 +4508,11 @@ other purposes."
         (set-default symbol value)))
 
 (define-minor-mode visual-line-mode
-  "Redefine simple editing commands to act on visual lines, not logical lines."
+  "Redefine simple editing commands to act on visual lines, not logical lines.
+This also turns on `word-wrap' in the buffer."
   :keymap visual-line-mode-map
   :group 'visual-line
+  :lighter " wrap"
   (if visual-line-mode
       (progn
        (set (make-local-variable 'line-move-visual) t)