diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2010-03-06 14:02:49 -0500 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2010-03-06 14:02:49 -0500 |
commit | 17782becc562c0cc03df654e33f60acc183cc3a7 (patch) | |
tree | d78547a74eb6ecbe63b908f99ede897d55a70c05 /doc/emacs/custom.texi | |
parent | a4e32226ebee93d94744cd9149a73e6b59785cd9 (diff) | |
download | emacs-17782becc562c0cc03df654e33f60acc183cc3a7.tar.gz emacs-17782becc562c0cc03df654e33f60acc183cc3a7.tar.bz2 emacs-17782becc562c0cc03df654e33f60acc183cc3a7.zip |
Improve documentation for setting buffer-local vars (Bug#5688).
* custom.texi (Init Examples): Add xref to Locals.
* major.texi (Choosing Modes): Mention usage of setq-default for
setting the default value of major-mode (Bug#5688).
Diffstat (limited to 'doc/emacs/custom.texi')
-rw-r--r-- | doc/emacs/custom.texi | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi index a4914531192..408de24ed6e 100644 --- a/doc/emacs/custom.texi +++ b/doc/emacs/custom.texi @@ -2256,9 +2256,10 @@ override this). @end example This sets the default value, which is effective in all buffers that do -not have local values for the variable. Setting @code{case-fold-search} -with @code{setq} affects only the current buffer's local value, which -is not what you probably want to do in an init file. +not have local values for the variable (@pxref{Locals}). Setting +@code{case-fold-search} with @code{setq} affects only the current +buffer's local value, which is probably not what you want to do in an +init file. @item @vindex user-mail-address |