emacs-devel
[Top][All Lists]
Advanced

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

Re: fundamental-mode-hook


From: Stefan Monnier
Subject: Re: fundamental-mode-hook
Date: Thu, 08 Feb 2007 17:50:03 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux)

> Yes, thanks, that is what I thought.  What is the right way to find out if
> a function is a major mode?

- look at its doc
- look at its code
- try it
- ...

I tried to get all major modes to use a standard macro
(define-derived-mode), but Richard didn't like some parts of it and it
all dies.  Still, all major modes defined with define-derived-mode have the
`derived-mode-parent' property.


        Stefan




reply via email to

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