diff options
| author | Glenn Morris | 2012-05-02 22:14:32 -0400 |
|---|---|---|
| committer | Glenn Morris | 2012-05-02 22:14:32 -0400 |
| commit | 0b40418e9fa9f1465d78aa5a0257d5701f04d8bc (patch) | |
| tree | 2f763631702fe72ffbe86c7cdc942fad885fe2f6 | |
| parent | c4c30a4e6aaaa86aeacfffaffca751a79bb62944 (diff) | |
| download | emacs-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/ChangeLog | 3 | ||||
| -rw-r--r-- | doc/emacs/modes.texi | 10 |
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 @@ | |||
| 1 | 2012-05-03 Glenn Morris <rgm@gnu.org> | 1 | 2012-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}). | |||
| 65 | first visit a file or create a buffer (@pxref{Choosing Modes}). You | 65 | first visit a file or create a buffer (@pxref{Choosing Modes}). You |
| 66 | can explicitly select a new major mode by using an @kbd{M-x} command. | 66 | can explicitly select a new major mode by using an @kbd{M-x} command. |
| 67 | Take the name of the mode and add @code{-mode} to get the name of the | 67 | Take the name of the mode and add @code{-mode} to get the name of the |
| 68 | command to select that mode. Thus, you can enter Lisp mode with | 68 | command 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 | |||
| 81 | Customization}), or by adding a line like this to your init file | 80 | Customization}), 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 |
| 89 | If the default value of @code{major-mode} is @code{nil}, the major | 88 | If 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 |
| 219 | Linum mode displays each line's line number in the window's left | 218 | Linum mode displays each line's line number in the window's left margin. |
| 220 | margin. Its mode command is @code{linum-mode}. | ||
| 221 | 219 | ||
| 222 | @item | 220 | @item |
| 223 | Outline minor mode provides similar facilities to the major mode | 221 | Outline minor mode provides similar facilities to the major mode |