From: Chong Yidong Date: Mon, 21 Jul 2008 03:54:03 +0000 (+0000) Subject: (visual-line-mode): Add lighter. X-Git-Tag: emacs-pretest-23.0.90~4042 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b677cb960a24885ff06419aa247d9d1574fc0bee;p=emacs.git (visual-line-mode): Add lighter. --- diff --git a/lisp/simple.el b/lisp/simple.el index a854e1dd96a..66541973a7e 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -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)