[Top][All Lists]

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


From: Miles Bader
Subject: define-major-mode
Date: 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.

reply via email to

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