diff options
Diffstat (limited to 'doc/lispintro/emacs-lisp-intro.texi')
| -rw-r--r-- | doc/lispintro/emacs-lisp-intro.texi | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi index fbf1719b678..2d74991188a 100644 --- a/doc/lispintro/emacs-lisp-intro.texi +++ b/doc/lispintro/emacs-lisp-intro.texi @@ -17393,21 +17393,21 @@ Here is the line again; how does it work? @cindex Text Mode turned on @smallexample -(setq default-major-mode 'text-mode) +(setq major-mode 'text-mode) @end smallexample @noindent This line is a short, but complete Emacs Lisp expression. We are already familiar with @code{setq}. It sets the following variable, -@code{default-major-mode}, to the subsequent value, which is -@code{text-mode}. The single quote mark before @code{text-mode} tells -Emacs to deal directly with the @code{text-mode} variable, not with -whatever it might stand for. @xref{set & setq, , Setting the Value of -a Variable}, for a reminder of how @code{setq} works. The main point -is that there is no difference between the procedure you use to set -a value in your @file{.emacs} file and the procedure you use anywhere -else in Emacs. +@code{major-mode}, to the subsequent value, which is @code{text-mode}. +The single quote mark before @code{text-mode} tells Emacs to deal directly +with the @code{text-mode} symbol, not with whatever it might stand for. +@xref{set & setq, , Setting the Value of a Variable}, +for a reminder of how @code{setq} works. +The main point is that there is no difference between the procedure you +use to set a value in your @file{.emacs} file and the procedure you use +anywhere else in Emacs. @need 800 Here is the next line: |
