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.
24 @item auto-fill-function
27 @item buffer-auto-save-file-format
28 @xref{Format Conversion}.
30 @item buffer-auto-save-file-name
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
78 @item buffer-undo-list
81 @item cache-long-line-scans
84 @item case-fold-search
85 @xref{Searching and Case}.
88 @xref{Comments,,, emacs, The GNU Emacs Manual}.
93 @item cursor-in-non-selected-windows
97 @xref{Cursor Parameters}.
99 @item default-directory
100 @xref{File Name Expansion}.
102 @item defun-prompt-regexp
105 @item desktop-save-buffer
106 @xref{Desktop Save Mode}.
108 @item enable-multibyte-characters
109 @ref{Text Representations}.
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
130 @xref{Moving Point,,, emacs, The GNU Emacs Manual}.
132 @item header-line-format
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}.
147 @item left-margin-width
148 @xref{Display Margins}.
153 @item local-abbrev-table
154 @xref{Standard Abbrev Tables}.
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}.
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
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}.
204 @xref{Usual Display}.
209 @item vertical-scroll-bar
212 @item window-size-fixed
213 @xref{Resizing Windows}.
215 @item write-contents-functions
216 @xref{Saving Buffers}.