Don't write explicit (interactive) in defining a derived mode.
This commit is contained in:
parent
4aa3ba0a81
commit
f140458b74
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue