changeset 96845:55273a37c1d5

(visual-line-mode): Add lighter.
author Chong Yidong <cyd@stupidchicken.com>
date Mon, 21 Jul 2008 03:54:03 +0000
parents 767c19ce14e0
children 0807daabeb14
files lisp/simple.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/simple.el	Mon Jul 21 03:53:51 2008 +0000
+++ b/lisp/simple.el	Mon Jul 21 03:54:03 2008 +0000
@@ -4508,9 +4508,11 @@
 	 (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)