[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fri, 01 Oct 2010 13:13:00 +0900
Somebody remind me why there's no define-major-mode macro...?
I know the same effect can be achieved with (define-derived-mode foo
fundamental-mode ...), but thought that Richard didn't people to do that
(I sort of agree that it looks kludgey)...
But why doesn't emacs have somethign like:
(defmacro define-major-mode (name &rest blah)
`(define-derived-mode ,name fundamental-mode ,@blah))
Accord, n. Harmony.
Miles Bader <=