diff options
| author | Glenn Morris | 2012-03-15 21:40:20 -0400 |
|---|---|---|
| committer | Glenn Morris | 2012-03-15 21:40:20 -0400 |
| commit | da986230818288ce7f24d6803a0acf78c06ad656 (patch) | |
| tree | ed0f931613ee1450a8da799cfc17caa3c43e6fa8 /doc | |
| parent | 0835f01e98aa01800565e727ff63a29099b0a0c0 (diff) | |
| download | emacs-da986230818288ce7f24d6803a0acf78c06ad656.tar.gz emacs-da986230818288ce7f24d6803a0acf78c06ad656.zip | |
Doc fixes for view-mode and special major-modes
Ref: http://debbugs.gnu.org/10650
* doc/lispref/modes.texi (Major Mode Conventions):
Mention the strange (IMO) relationship between View mode and special modes.
* lisp/view.el (view-buffer, view-buffer-other-window)
(view-buffer-other-frame): Doc fixes re special mode-class.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/modes.texi | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 3584c89d5fe..576f543a9f0 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-03-16 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * modes.texi (Major Mode Conventions): Mention the strange | ||
| 4 | relationship between View mode and special modes. (Bug#10650) | ||
| 5 | |||
| 1 | 2012-03-11 Chong Yidong <cyd@gnu.org> | 6 | 2012-03-11 Chong Yidong <cyd@gnu.org> |
| 2 | 7 | ||
| 3 | * windows.texi (Window Configurations): save-window-excursion is | 8 | * windows.texi (Window Configurations): save-window-excursion is |
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index b0e9d4a3139..946dcb91317 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi | |||
| @@ -525,6 +525,10 @@ mode when creating new buffers (@pxref{Auto Major Mode}), but with such | |||
| 525 | @code{special} modes, Fundamental mode is used instead. Modes such as | 525 | @code{special} modes, Fundamental mode is used instead. Modes such as |
| 526 | Dired, Rmail, and Buffer List use this feature. | 526 | Dired, Rmail, and Buffer List use this feature. |
| 527 | 527 | ||
| 528 | The function @code{view-buffer} does not enable View mode in buffers | ||
| 529 | whose mode-class is special, because such modes usually provide their | ||
| 530 | own View-like bindings. | ||
| 531 | |||
| 528 | The @code{define-derived-mode} macro automatically marks the derived | 532 | The @code{define-derived-mode} macro automatically marks the derived |
| 529 | mode as special if the parent mode is special. Special mode is a | 533 | mode as special if the parent mode is special. Special mode is a |
| 530 | convenient parent for such modes to inherit from; @xref{Basic Major | 534 | convenient parent for such modes to inherit from; @xref{Basic Major |