aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGlenn Morris2012-03-15 21:40:20 -0400
committerGlenn Morris2012-03-15 21:40:20 -0400
commitda986230818288ce7f24d6803a0acf78c06ad656 (patch)
treeed0f931613ee1450a8da799cfc17caa3c43e6fa8 /doc
parent0835f01e98aa01800565e727ff63a29099b0a0c0 (diff)
downloademacs-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/ChangeLog5
-rw-r--r--doc/lispref/modes.texi4
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 @@
12012-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
12012-03-11 Chong Yidong <cyd@gnu.org> 62012-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
526Dired, Rmail, and Buffer List use this feature. 526Dired, Rmail, and Buffer List use this feature.
527 527
528The function @code{view-buffer} does not enable View mode in buffers
529whose mode-class is special, because such modes usually provide their
530own View-like bindings.
531
528The @code{define-derived-mode} macro automatically marks the derived 532The @code{define-derived-mode} macro automatically marks the derived
529mode as special if the parent mode is special. Special mode is a 533mode as special if the parent mode is special. Special mode is a
530convenient parent for such modes to inherit from; @xref{Basic Major 534convenient parent for such modes to inherit from; @xref{Basic Major