comparison lisp/simple.el @ 107271:af8dcc16162f

Merge from mainline.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Thu, 04 Feb 2010 22:04:56 +0000
parents 4e5186e157d5
children 38f0f81b2f1f
comparison
equal deleted inserted replaced
107270:444ecbd20d25 107271:af8dcc16162f
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.