summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/simple.el4
1 files changed, 3 insertions, 1 deletions
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)