From: Richard M. Stallman Date: Mon, 12 Nov 2001 22:57:48 +0000 (+0000) Subject: No `interactive' spec in define-derived-mode body. X-Git-Tag: emacs-21.2~328 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7b3b011fb028606e13c31553e00b3383ad7c9837;p=emacs.git No `interactive' spec in define-derived-mode body. --- diff --git a/lispref/modes.texi b/lispref/modes.texi index b855f7e0eca..49dcf4a240e 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