emacs-devel
[Top][All Lists]
Advanced

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

Re: Why js2-mode in Emacs 23.2?


From: Daniel Colascione
Subject: Re: Why js2-mode in Emacs 23.2?
Date: Tue, 11 Aug 2009 00:33:53 -0400

On Aug 11, 2009, at 12:28 AM, Dan Nicolaescu wrote:

Daniel Colascione <address@hidden> writes:

On Aug 10, 2009, at 9:13 PM, Glenn Morris wrote:
Carsten Dominik wrote:

   (add-hook 'imenu-after-jump-hook
That would work just fine without eval-after-load or requiring imenu.
A hook does not need to be defined before calling add-hook.

That works for hooks, but not for arbitrary data structures, like,
say, hs-special-modes-alist.

For hs-special-modes-alist, if the mode is included in emacs, just add
the initialization where in the definition. That goes for other similar
structures.


Why should hideshow have to include a list of modes? And why should the preferred technique differ depending on whether the code is part of emacs or not?




reply via email to

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