From 7b3b011fb028606e13c31553e00b3383ad7c9837 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 12 Nov 2001 22:57:48 +0000 Subject: [PATCH] No `interactive' spec in define-derived-mode body. --- lispref/modes.texi | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.2