From: Glenn Morris Date: Thu, 3 May 2012 02:14:32 +0000 (-0400) Subject: Tweaks for doc/emacs/modes.texi X-Git-Tag: emacs-24.0.97~58 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0b40418e9fa9f1465d78aa5a0257d5701f04d8bc;p=emacs.git 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. --- 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 @@ 2012-05-03 Glenn Morris + * modes.texi (Major Modes, Minor Modes): Reword to improve page-breaks. + (Major Modes): Use example rather than smallexample. + * mule.texi (Output Coding): Reword to improve page-breaks. * 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}). first visit a file or create a buffer (@pxref{Choosing Modes}). You can explicitly select a new major mode by using an @kbd{M-x} command. Take the name of the mode and add @code{-mode} to get the name of the -command to select that mode. Thus, you can enter Lisp mode with -@kbd{M-x lisp-mode}. +command to select that mode (e.g., @kbd{M-x lisp-mode} enters Lisp mode). @vindex major-mode 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 Customization}), or by adding a line like this to your init file (@pxref{Init File}): -@smallexample +@example (setq-default major-mode 'text-mode) -@end smallexample +@end example @noindent If the default value of @code{major-mode} is @code{nil}, the major @@ -216,8 +215,7 @@ in individual buffers. @xref{Faces}. @findex linum-mode @cindex Linum mode @item -Linum mode displays each line's line number in the window's left -margin. Its mode command is @code{linum-mode}. +Linum mode displays each line's line number in the window's left margin. @item Outline minor mode provides similar facilities to the major mode