emacs-devel
[Top][All Lists]
Advanced

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

Re: why do some programming modes have customize hooks and others do not


From: Nic Ferrier
Subject: Re: why do some programming modes have customize hooks and others do not?
Date: Sat, 18 Oct 2014 23:24:29 +0100

Stefan Monnier <address@hidden> writes:

>> Emacs-Lisp mode has a customizable hook variable but erlang-mode does
>> not.
>
> define-derived-mode currently defines the hook with `defvar', so you'll
> only get a customizable hook if the mode author explicitly added
> a defcustom for it.

erlang-mode actually has a separate defvar for it.


Nic



reply via email to

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