diff options
| author | Stefan Monnier | 2001-10-12 01:32:51 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2001-10-12 01:32:51 +0000 |
| commit | 0b41c65c36066eda80149034baa47bf2e36b1dae (patch) | |
| tree | 9e5d932ee29d920e1dedaeac5fe69cfb6649493c | |
| parent | 47ab3ab36140ed645bef6df55fa743a9fd3845a0 (diff) | |
| download | emacs-0b41c65c36066eda80149034baa47bf2e36b1dae.tar.gz emacs-0b41c65c36066eda80149034baa47bf2e36b1dae.zip | |
Recommend the use of define-derived-mode (and nil argument).
| -rw-r--r-- | lispref/modes.texi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lispref/modes.texi b/lispref/modes.texi index b855f7e0eca..072f8f69f8f 100644 --- a/lispref/modes.texi +++ b/lispref/modes.texi | |||
| @@ -60,9 +60,9 @@ Text mode except that it provides two additional commands. Its | |||
| 60 | definition is distinct from that of Text mode, but uses that of Text mode. | 60 | definition is distinct from that of Text mode, but uses that of Text mode. |
| 61 | 61 | ||
| 62 | Even if the new mode is not an obvious derivative of any other mode, | 62 | Even if the new mode is not an obvious derivative of any other mode, |
| 63 | it can be convenient to define it as a derivative of | 63 | it is convenient to use @code{define-derived-mode} with a @code{nil} |
| 64 | @code{fundamental-mode}, so that @code{define-derived-mode} can | 64 | parent argument, since it automatically enforces the most important |
| 65 | automatically enforce the most important coding conventions for you. | 65 | coding conventions for you. |
| 66 | 66 | ||
| 67 | Rmail Edit mode offers an example of changing the major mode | 67 | Rmail Edit mode offers an example of changing the major mode |
| 68 | temporarily for a buffer, so it can be edited in a different way (with | 68 | temporarily for a buffer, so it can be edited in a different way (with |