emacs-devel
[Top][All Lists]
Advanced

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

Re: define-derived-mode again (was: Emacs design question)


From: Miles Bader
Subject: Re: define-derived-mode again (was: Emacs design question)
Date: 24 Jul 2003 11:31:13 +0900

"Stefan Monnier" <monnier+gnu/address@hidden> writes:
> But this aside, we can also make the PARENT argument optional
> (since it's always a symbol and the next arg (the mode's name) is
> always a string).

That's true... or alternatively, how about allowing the mode-name to be
a cons, like:

Non-derived case:

  (define-major-mode NAME "DOC" ...)

Derived case:

  (define-major-mode (NAME PARENT-NAME) "DOC" ...)

-Miles
-- 
I'd rather be consing.




reply via email to

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