Mercurial > emacs
comparison lisp/simple.el @ 107079:4e5186e157d5
* simple.el (visual-line-mode): Capitalize lighter.
See http://lists.gnu.org/archive/html/emacs-devel/2010-02/msg00088.html
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Wed, 03 Feb 2010 21:02:56 -0800 |
parents | 1d1d5d9bd884 |
children | 38f0f81b2f1f |
comparison
equal
deleted
inserted
replaced
107078:2343eacdeb7d | 107079:4e5186e157d5 |
---|---|
4698 (define-minor-mode visual-line-mode | 4698 (define-minor-mode visual-line-mode |
4699 "Redefine simple editing commands to act on visual lines, not logical lines. | 4699 "Redefine simple editing commands to act on visual lines, not logical lines. |
4700 This also turns on `word-wrap' in the buffer." | 4700 This also turns on `word-wrap' in the buffer." |
4701 :keymap visual-line-mode-map | 4701 :keymap visual-line-mode-map |
4702 :group 'visual-line | 4702 :group 'visual-line |
4703 :lighter " wrap" | 4703 :lighter " Wrap" |
4704 (if visual-line-mode | 4704 (if visual-line-mode |
4705 (progn | 4705 (progn |
4706 (set (make-local-variable 'visual-line--saved-state) nil) | 4706 (set (make-local-variable 'visual-line--saved-state) nil) |
4707 ;; Save the local values of some variables, to be restored if | 4707 ;; Save the local values of some variables, to be restored if |
4708 ;; visual-line-mode is turned off. | 4708 ;; visual-line-mode is turned off. |