Fix previous fix of Bug#5849.
[emacs.git] / doc / lispref / locals.texi
bloba196efc9734ec909fa58f25e4cd7d55a28573197
1 @c -*-texinfo-*-
2 @c This is part of the GNU Emacs Lisp Reference Manual.
3 @c Copyright (C) 1990-1993, 1999, 2001-2011  Free Software Foundation, Inc.
4 @c See the file elisp.texi for copying conditions.
5 @setfilename ../../info/locals
6 @node Standard Buffer-Local Variables, Standard Keymaps, Standard Errors, Top
7 @appendix Buffer-Local Variables
8 @c The title "Standard Buffer-Local Variables" is too long for
9 @c smallbook. --rjc 30mar92
10 @cindex buffer-local variables, general-purpose
11 @cindex standard buffer-local variables
13   The table below lists the general-purpose Emacs variables that
14 automatically become buffer-local in each buffer.  Most become
15 buffer-local only when set; a few of them are always local in every
16 buffer.  Many Lisp packages define such variables for their internal
17 use, but we don't try to list them all here.
19   Every buffer-specific minor mode defines a buffer-local variable
20 named @samp{@var{modename}-mode}.  @xref{Minor Mode Conventions}.
21 Minor mode variables will not be listed here.
23 @table @code
24 @item auto-fill-function
25 @xref{Auto Filling}.
27 @item buffer-auto-save-file-format
28 @xref{Format Conversion}.
30 @item buffer-auto-save-file-name
31 @xref{Auto-Saving}.
33 @item buffer-backed-up
34 @xref{Making Backups}.
36 @item buffer-display-count
37 @xref{Buffers and Windows}.
39 @item buffer-display-table
40 @xref{Active Display Table}.
42 @item buffer-display-time
43 @xref{Buffers and Windows}.
45 @item buffer-file-coding-system
46 @xref{Encoding and I/O}.
48 @item buffer-file-format
49 @xref{Format Conversion}.
51 @item buffer-file-name
52 @xref{Buffer File Name}.
54 @item buffer-file-number
55 @xref{Buffer File Name}.
57 @item buffer-file-truename
58 @xref{Buffer File Name}.
60 @item buffer-file-type
61 @xref{MS-DOS File Types}.
63 @item buffer-invisibility-spec
64 @xref{Invisible Text}.
66 @item buffer-offer-save
67 @xref{Killing Buffers}.
69 @item buffer-save-without-query
70 @xref{Killing Buffers}.
72 @item buffer-read-only
73 @xref{Read Only Buffers}.
75 @item buffer-saved-size
76 @xref{Auto-Saving}.
78 @item buffer-undo-list
79 @xref{Undo}.
81 @item cache-long-line-scans
82 @xref{Truncation}.
84 @item case-fold-search
85 @xref{Searching and Case}.
87 @item comment-column
88 @xref{Comments,,, emacs, The GNU Emacs Manual}.
90 @item ctl-arrow
91 @xref{Usual Display}.
93 @item cursor-in-non-selected-windows
94 @xref{Basic Windows}.
96 @item cursor-type
97 @xref{Cursor Parameters}.
99 @item default-directory
100 @xref{File Name Expansion}.
102 @item defun-prompt-regexp
103 @xref{List Motion}.
105 @item desktop-save-buffer
106 @xref{Desktop Save Mode}.
108 @item enable-multibyte-characters
109 @ref{Text Representations}.
111 @item fill-column
112 @xref{Margins}.
114 @item fill-prefix
115 @xref{Margins}.
117 @item font-lock-defaults
118 @xref{Font Lock Basics}.
120 @item fringe-cursor-alist
121 @xref{Fringe Cursors}.
123 @item fringe-indicator-alist
124 @xref{Fringe Indicators}.
126 @item fringes-outside-margins
127 @xref{Fringes}.
129 @item goal-column
130 @xref{Moving Point,,, emacs, The GNU Emacs Manual}.
132 @item header-line-format
133 @xref{Header Lines}.
135 @item indicate-buffer-boundaries
136 @xref{Usual Display}.
138 @item indicate-empty-lines
139 @xref{Usual Display}.
141 @item left-fringe-width
142 @xref{Fringe Size/Pos}.
144 @item left-margin
145 @xref{Margins}.
147 @item left-margin-width
148 @xref{Display Margins}.
150 @item line-spacing
151 @xref{Line Height}.
153 @item local-abbrev-table
154 @xref{Standard Abbrev Tables}.
156 @item major-mode
157 @xref{Mode Help}.
159 @item mark-active
160 @xref{The Mark}.
162 @item mark-ring
163 @xref{The Mark}.
165 @item mode-line-buffer-identification
166 @xref{Mode Line Variables}.
168 @item mode-line-format
169 @xref{Mode Line Data}.
171 @item mode-line-modified
172 @xref{Mode Line Variables}.
174 @item mode-line-process
175 @xref{Mode Line Variables}.
177 @item mode-name
178 @xref{Mode Line Variables}.
180 @item point-before-scroll
181 Used for communication between mouse commands and scroll-bar commands.
183 @item right-fringe-width
184 @xref{Fringe Size/Pos}.
186 @item right-margin-width
187 @xref{Display Margins}.
189 @item save-buffer-coding-system
190 @xref{Encoding and I/O}.
192 @item scroll-bar-width
193 @xref{Scroll Bars}.
195 @item scroll-down-aggressively
196 @itemx scroll-up-aggressively
197 @xref{Textual Scrolling}.
199 @item selective-display
200 @itemx selective-display-ellipses
201 @xref{Selective Display}.
203 @item tab-width
204 @xref{Usual Display}.
206 @item truncate-lines
207 @xref{Truncation}.
209 @item vertical-scroll-bar
210 @xref{Scroll Bars}.
212 @item window-size-fixed
213 @xref{Resizing Windows}.
215 @item write-contents-functions
216 @xref{Saving Buffers}.
217 @end table