help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: how to tell if a mode has a given parent?


From: Johan Bockgård
Subject: Re: how to tell if a mode has a given parent?
Date: Sun, 23 Jul 2006 14:18:38 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

"Drew Adams" <drew.adams@oracle.com> writes:

> Shell mode is derived from comint mode using define-derived-mode (in
> Emacs 22), so there must be some way to access its ancestry.

define-derived-mode adds a `derived-mode-parent' property to the
derived mode.

-- 
Johan Bockgård


reply via email to

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