Don't write explicit (interactive) in defining a derived mode.

This commit is contained in:
Richard M. Stallman 2001-11-11 20:08:27 +00:00
parent 4aa3ba0a81
commit f140458b74

View 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