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

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

Re: Preventing toggling off minor modes in nxhtml mumamo chunks


From: Head
Subject: Re: Preventing toggling off minor modes in nxhtml mumamo chunks
Date: Mon, 9 Mar 2009 19:32:07 -0700 (PDT)


Niels Geuts wrote:
> 
> Niels Geuts wrote:
> 
>>But this did:
>>
>>(add-hook 'after-change-major-mode-hook 'linum-mode 'auto-fill-function)
> 
> Correction. This should be:
> 
> (add-hook 'after-change-major-mode-hook 'linum-mode)
> 
> 

On Aug 15 2008, 10:05 pm, Niels Geuts <address@hidden> wrote:
> Niels Geuts wrote:
> >But this did:
> 
> >(add-hook 'after-change-major-mode-hook 'linum-mode 'auto-fill-function)
> 
> Correction. This should be:
> 
> (add-hook 'after-change-major-mode-hook 'linum-mode)

That didn't work for me (I think linum-mode toggles the mode) but this did:

(add-hook 'after-change-major-mode-hook 'linum-on) 

Now if I could only figure out how to have it not lose the font-colors when
going from Ruby mode to nXhtml mode... hmmm.
-- 
View this message in context: 
http://www.nabble.com/Preventing-toggling-off-minor-modes-in-nxhtml-mumamo-chunks-tp18977384p22426904.html
Sent from the Emacs - Help mailing list archive at Nabble.com.





reply via email to

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