emacs-devel
[Top][All Lists]
Advanced

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

Re: New special-mode parent


From: Tom Tromey
Subject: Re: New special-mode parent
Date: Sat, 14 Jun 2008 14:03:31 -0600
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

>>>>> "Stefan" == Stefan Monnier <address@hidden> writes:

>> I think it would be nice is define-derived-mode automatically did this
>> for modes derived from special-mode.

Stefan> Your wish was granted several years ago already,

Thanks, I did not realize that.

Here's a patch to update the documentation.

Tom

2008-06-14  Tom Tromey  <address@hidden>

        * modes.texi (Derived Modes): Document mode-class.

*** modes.texi  30 Jan 2008 09:40:10 -0700      1.4
--- modes.texi  14 Jun 2008 14:02:24 -0600      
***************
*** 779,784 ****
--- 779,787 ----
  the end of this docstring.  If you omit @var{docstring},
  @code{define-derived-mode} generates a documentation string.
  
+ If the parent mode has a @code{mode-class} property, the new mode's
+ @code{mode-class} property is given the same value.
+ 
  The @var{keyword-args} are pairs of keywords and values.  The values
  are evaluated.  The following keywords are currently supported:
  




reply via email to

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