Commit f140458b authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

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

parent 4aa3ba0a
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment