# HG changeset patch # User Chong Yidong # Date 1216612443 0 # Node ID 55273a37c1d5f96cc9ad0a1bc54b0275c6087196 # Parent 767c19ce14e0ded421154a38c9e4dfee937317c3 (visual-line-mode): Add lighter. diff -r 767c19ce14e0 -r 55273a37c1d5 lisp/simple.el --- 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)