]> git.eshelyaron.com Git - emacs.git/commitdiff
No `interactive' spec in define-derived-mode body.
authorRichard M. Stallman <rms@gnu.org>
Mon, 12 Nov 2001 22:57:48 +0000 (22:57 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 12 Nov 2001 22:57:48 +0000 (22:57 +0000)
lispref/modes.texi

index b855f7e0ecae60b7101741c25b7d4b80c9dc9f54..49dcf4a240ebd64db437499f9a46fdb23c369c6a 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