diff options
author | Richard M. Stallman <[email protected]> | 2001-11-11 20:08:27 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 2001-11-11 20:08:27 +0000 |
commit | f140458b743e7c0e920fe55534500c903e73ee4b (patch) | |
tree | a20bca027f87f17d9e5f775b2864b5d36c4752dd /lispref | |
parent | 4aa3ba0a8176610c937321dabd11f1b116742742 (diff) |
Don't write explicit (interactive) in defining a derived mode.
Diffstat (limited to 'lispref')
-rw-r--r-- | lispref/modes.texi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lispref/modes.texi b/lispref/modes.texi index 072f8f69f8..bbeb08409e 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 |