aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2012-05-02 22:14:32 -0400
committerGlenn Morris2012-05-02 22:14:32 -0400
commit0b40418e9fa9f1465d78aa5a0257d5701f04d8bc (patch)
tree2f763631702fe72ffbe86c7cdc942fad885fe2f6
parentc4c30a4e6aaaa86aeacfffaffca751a79bb62944 (diff)
downloademacs-0b40418e9fa9f1465d78aa5a0257d5701f04d8bc.tar.gz
emacs-0b40418e9fa9f1465d78aa5a0257d5701f04d8bc.zip
Tweaks for doc/emacs/modes.texi
* doc/emacs/modes.texi (Major Modes, Minor Modes): Reword to improve page-breaks. (Major Modes): Use example rather than smallexample.
-rw-r--r--doc/emacs/ChangeLog3
-rw-r--r--doc/emacs/modes.texi10
2 files changed, 7 insertions, 6 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 0f3f13ee829..83511037c69 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,5 +1,8 @@
12012-05-03 Glenn Morris <rgm@gnu.org> 12012-05-03 Glenn Morris <rgm@gnu.org>
2 2
3 * modes.texi (Major Modes, Minor Modes): Reword to improve page-breaks.
4 (Major Modes): Use example rather than smallexample.
5
3 * mule.texi (Output Coding): Reword to improve page-breaks. 6 * mule.texi (Output Coding): Reword to improve page-breaks.
4 7
5 * frames.texi (Fonts): Tweak line and page breaks. 8 * frames.texi (Fonts): Tweak line and page breaks.
diff --git a/doc/emacs/modes.texi b/doc/emacs/modes.texi
index 52ecd37fcf2..a48299768a8 100644
--- a/doc/emacs/modes.texi
+++ b/doc/emacs/modes.texi
@@ -65,8 +65,7 @@ process (@pxref{Interactive Shell}).
65first visit a file or create a buffer (@pxref{Choosing Modes}). You 65first visit a file or create a buffer (@pxref{Choosing Modes}). You
66can explicitly select a new major mode by using an @kbd{M-x} command. 66can explicitly select a new major mode by using an @kbd{M-x} command.
67Take the name of the mode and add @code{-mode} to get the name of the 67Take the name of the mode and add @code{-mode} to get the name of the
68command to select that mode. Thus, you can enter Lisp mode with 68command to select that mode (e.g., @kbd{M-x lisp-mode} enters Lisp mode).
69@kbd{M-x lisp-mode}.
70 69
71@vindex major-mode 70@vindex major-mode
72 The value of the buffer-local variable @code{major-mode} is a symbol 71 The value of the buffer-local variable @code{major-mode} is a symbol
@@ -81,9 +80,9 @@ change this default value via the Customization interface (@pxref{Easy
81Customization}), or by adding a line like this to your init file 80Customization}), or by adding a line like this to your init file
82(@pxref{Init File}): 81(@pxref{Init File}):
83 82
84@smallexample 83@example
85(setq-default major-mode 'text-mode) 84(setq-default major-mode 'text-mode)
86@end smallexample 85@end example
87 86
88@noindent 87@noindent
89If the default value of @code{major-mode} is @code{nil}, the major 88If the default value of @code{major-mode} is @code{nil}, the major
@@ -216,8 +215,7 @@ in individual buffers. @xref{Faces}.
216@findex linum-mode 215@findex linum-mode
217@cindex Linum mode 216@cindex Linum mode
218@item 217@item
219Linum mode displays each line's line number in the window's left 218Linum mode displays each line's line number in the window's left margin.
220margin. Its mode command is @code{linum-mode}.
221 219
222@item 220@item
223Outline minor mode provides similar facilities to the major mode 221Outline minor mode provides similar facilities to the major mode