emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: line-move-visual never set to nil?


From: Vinicius Jose Latorre
Subject: Re: line-move-visual never set to nil?
Date: Sat, 26 Jul 2008 15:40:30 -0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080702 SeaMonkey/1.1.11

Stefan Monnier wrote:
Looking at the code that defines visual-line-mode -- I dont see
the line-move-visual getting set at any point; also, I see a
command to turn-on-visual-line-mode -- but no corresponding
command to turn it off.

Yes, could someone remove turn-on-visual-line-mode?
The command to turn it ON is the same as the one to turn it OFF,
i.e. `visual-line-mode'.

The turn-on-visual-line-mode is an auxiliary function used by global-visual-line-mode.

From simple.el:

(defun turn-on-visual-line-mode ()
 (visual-line-mode 1))

(define-globalized-minor-mode global-visual-line-mode
 visual-line-mode turn-on-visual-line-mode
 :lighter " vl")





reply via email to

[Prev in Thread] Current Thread [Next in Thread]