2 @c This is part of the GNU Emacs Lisp Reference Manual.
3 @c Copyright (C) 1990, 1991, 1992, 1993, 1999, 2001, 2002, 2003, 2004,
4 @c 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
5 @c See the file elisp.texi for copying conditions.
6 @setfilename ../../info/locals
7 @node Standard Buffer-Local Variables, Standard Keymaps, Standard Errors, Top
8 @appendix Buffer-Local Variables
9 @c The title "Standard Buffer-Local Variables" is too long for
10 @c smallbook. --rjc 30mar92
11 @cindex buffer-local variables, general-purpose
12 @cindex standard buffer-local variables
14 The table below lists the general-purpose Emacs variables that
15 automatically become buffer-local in each buffer. Most become
16 buffer-local only when set; a few of them are always local in every
17 buffer. Many Lisp packages define such variables for their internal
18 use, but we don't try to list them all here.
20 Every buffer-specific minor mode defines a buffer-local variable
21 named @samp{@var{modename}-mode}. @xref{Minor Mode Conventions}.
22 Minor mode variables will not be listed here.
25 @item auto-fill-function
28 @item buffer-auto-save-file-format
29 @xref{Format Conversion}.
31 @item buffer-auto-save-file-name
34 @item buffer-backed-up
35 @xref{Making Backups}.
37 @item buffer-display-count
38 @xref{Buffers and Windows}.
40 @item buffer-display-table
41 @xref{Active Display Table}.
43 @item buffer-display-time
44 @xref{Buffers and Windows}.
46 @item buffer-file-coding-system
47 @xref{Encoding and I/O}.
49 @item buffer-file-format
50 @xref{Format Conversion}.
52 @item buffer-file-name
53 @xref{Buffer File Name}.
55 @item buffer-file-number
56 @xref{Buffer File Name}.
58 @item buffer-file-truename
59 @xref{Buffer File Name}.
61 @item buffer-file-type
62 @xref{MS-DOS File Types}.
64 @item buffer-invisibility-spec
65 @xref{Invisible Text}.
67 @item buffer-offer-save
68 @xref{Killing Buffers}.
70 @item buffer-save-without-query
71 @xref{Killing Buffers}.
73 @item buffer-read-only
74 @xref{Read Only Buffers}.
76 @item buffer-saved-size
79 @item buffer-undo-list
82 @item cache-long-line-scans
85 @item case-fold-search
86 @xref{Searching and Case}.
89 @xref{Comments,,, emacs, The GNU Emacs Manual}.
94 @item cursor-in-non-selected-windows
98 @xref{Cursor Parameters}.
100 @item default-directory
101 @xref{File Name Expansion}.
103 @item defun-prompt-regexp
106 @item desktop-save-buffer
107 @xref{Desktop Save Mode}.
109 @item enable-multibyte-characters
110 @ref{Text Representations}.
118 @item font-lock-defaults
119 @xref{Font Lock Basics}.
121 @item fringe-cursor-alist
122 @xref{Fringe Cursors}.
124 @item fringe-indicator-alist
125 @xref{Fringe Indicators}.
127 @item fringes-outside-margins
131 @xref{Moving Point,,, emacs, The GNU Emacs Manual}.
133 @item header-line-format
136 @item indicate-buffer-boundaries
137 @xref{Usual Display}.
139 @item indicate-empty-lines
140 @xref{Usual Display}.
142 @item left-fringe-width
143 @xref{Fringe Size/Pos}.
148 @item left-margin-width
149 @xref{Display Margins}.
154 @item local-abbrev-table
155 @xref{Standard Abbrev Tables}.
166 @item mode-line-buffer-identification
167 @xref{Mode Line Variables}.
169 @item mode-line-format
170 @xref{Mode Line Data}.
172 @item mode-line-modified
173 @xref{Mode Line Variables}.
175 @item mode-line-process
176 @xref{Mode Line Variables}.
179 @xref{Mode Line Variables}.
181 @item point-before-scroll
182 Used for communication between mouse commands and scroll-bar commands.
184 @item right-fringe-width
185 @xref{Fringe Size/Pos}.
187 @item right-margin-width
188 @xref{Display Margins}.
190 @item save-buffer-coding-system
191 @xref{Encoding and I/O}.
193 @item scroll-bar-width
196 @item scroll-down-aggressively
197 @itemx scroll-up-aggressively
198 @xref{Textual Scrolling}.
200 @item selective-display
201 @itemx selective-display-ellipses
202 @xref{Selective Display}.
205 @xref{Usual Display}.
210 @item vertical-scroll-bar
213 @item window-size-fixed
214 @xref{Resizing Windows}.
216 @item write-contents-functions
217 @xref{Saving Buffers}.