From: Richard M. Stallman Date: Sun, 11 Nov 2001 20:08:27 +0000 (+0000) Subject: Don't write explicit (interactive) in defining a derived mode. X-Git-Tag: ttn-vms-21-2-B4~18661 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f140458b743e7c0e920fe55534500c903e73ee4b;p=emacs.git Don't write explicit (interactive) in defining a derived mode. --- diff --git a/lispref/modes.texi b/lispref/modes.texi index 072f8f69f8f..bbeb08409ed 100644 --- a/lispref/modes.texi +++ b/lispref/modes.texi @@ -778,6 +778,9 @@ Here is a hypothetical example: (define-key hypertext-mode-map [down-mouse-3] 'do-hyper-link) @end example + +Do not write an @code{interactive} spec in the definition; +@code{define-derived-mode} does that automatically. @end defmac @node Minor Modes