help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to go to next line on the screen instead of going to next line


From: xz
Subject: Re: How to go to next line on the screen instead of going to next line in the text?
Date: Wed, 4 Jun 2008 07:53:04 -0700 (PDT)
User-agent: G2/1.0

~~~
> which means, if I only want turn on this longlines-mode when editing
> latex/tex file, then I add the following to .emacs:
> (add-hook 'tex-mode-hook 'longlines-mode)
>
> Is that correct?
> But it seems not working......
>

I mean it works when I add
(add-hook 'text-mode-hook 'longlines-mode)

while it does work if I only add
(add-hook 'tex-mode-hook 'longlines-mode)


>
>
> > Here's the second way:
> > (add-hook 'find-file-hook 'longlines-mode)
> > (add-hook 'find-file-not-found-functions 'longlines-mode)
>
> > --
> > Kevin Rodgers
> > Denver, Colorado, USA



reply via email to

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