emacs-devel
[Top][All Lists]
Advanced

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

Re: dir-locals.el take precedence over user's mode-hook changes


From: Dan Nicolaescu
Subject: Re: dir-locals.el take precedence over user's mode-hook changes
Date: Wed, 31 Dec 2008 13:41:47 -0800 (PST)

Stefan Monnier <address@hidden> writes:

  > > Unfortunately this does not work, it would turn the mode off if it's
  > > already turned on.  
  > 
  > > If you have in your .emacs:
  > 
  > > (add-hook 'emacs-lisp-mode-hook 'my-emacs-lisp-mode-hook)
  > > (defun my-emacs-lisp-mode-hook ()   (auto-fill-mode 1))
  > 
  > > And add to an elisp file:
  > 
  > > ;; Local Variables:
  > > ;; mode: auto-fill
  > > ;; End:
  > 
  > > auto-fill-mode will not be turned on for that elisp file.
  > 
  > Yes, that's a more general problem.  I'd be inclined to change it so
  > that the minor mode is unconditionally turned ON rather than toggled.

Please do that, this is a long standing issue...




reply via email to

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