]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't write explicit (interactive) in defining a derived mode.
authorRichard M. Stallman <rms@gnu.org>
Sun, 11 Nov 2001 20:08:27 +0000 (20:08 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 11 Nov 2001 20:08:27 +0000 (20:08 +0000)
lispref/modes.texi

index 072f8f69f8fe409606a1e038504f3aa92394868b..bbeb08409edb2549202a57f0afffb301eb13d4cf 100644 (file)
@@ -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