changeset 40928:ebfea94f75d4

Don't write explicit (interactive) in defining a derived mode.
author Richard M. Stallman <rms@gnu.org>
date Sun, 11 Nov 2001 20:08:27 +0000
parents d8cd2ee4b10c
children feea30bbbf13
files lispref/modes.texi
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/modes.texi	Sun Nov 11 20:07:46 2001 +0000
+++ b/lispref/modes.texi	Sun Nov 11 20:08:27 2001 +0000
@@ -778,6 +778,9 @@
 (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