diff options
| author | Chong Yidong <cyd@stupidchicken.com> | 2008-07-21 03:54:03 +0000 |
|---|---|---|
| committer | Chong Yidong <cyd@stupidchicken.com> | 2008-07-21 03:54:03 +0000 |
| commit | b677cb960a24885ff06419aa247d9d1574fc0bee (patch) | |
| tree | e863ae3ca209ff3233ed4ec97203b56d1bc858a5 | |
| parent | 10c0e12456d31e1b5f5aab2ab325bf0c7713ce15 (diff) | |
| download | emacs-b677cb960a24885ff06419aa247d9d1574fc0bee.tar.gz | |
(visual-line-mode): Add lighter.
| -rw-r--r-- | lisp/simple.el | 4 |
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) |
