GNU Emacs Lisp Reference Manual
G. Buffer-Local Variables
The table below lists the general-purpose Emacs variables that
automatically become buffer-local in each buffer. Most become
buffer-local only when set; a few of them are always local in every
buffer. Many Lisp packages define such variables for their internal
use, but we don't try to list them all here.
abbrev-mode
See section 36. Abbrevs and Abbrev Expansion .
auto-fill-function
See section 32.14 Auto Filling .
buffer-auto-save-file-name
See section 26.2 Auto-Saving .
buffer-backed-up
See section 26.1 Backup Files .
buffer-display-count
See section 28.7 Displaying Buffers in Windows .
buffer-display-table
See section 38.17 Display Tables .
buffer-file-coding-system
See section 33.10.2 Encoding and I/O .
buffer-file-format
See section 25.12 File Format Conversion .
buffer-file-name
See section 27.4 Buffer File Name .
buffer-file-number
See section 27.4 Buffer File Name .
buffer-file-truename
See section 27.4 Buffer File Name .
buffer-file-type
See section 33.10.9 MS-DOS File Types .
buffer-invisibility-spec
See section 38.5 Invisible Text .
buffer-offer-save
See section 25.2 Saving Buffers .
buffer-read-only
See section 27.7 Read-Only Buffers .
buffer-saved-size
See section 30.1 Point .
buffer-undo-list
See section 32.9 Undo .
cache-long-line-scans
See section 30.2.4 Motion by Text Lines .
case-fold-search
See section 34.7 Searching and Case .
ctl-arrow
See section 38.16 Usual Display Conventions .
comment-column
See section `Comments' in The GNU Emacs Manual .
default-directory
See section 40.3 Operating System Environment .
defun-prompt-regexp
See section 30.2.6 Moving over Balanced Expressions .
enable-multibyte-characters
33. Non-ASCII Characters .
fill-column
See section 32.14 Auto Filling .
goal-column
See section `Moving Point' in The GNU Emacs Manual .
header-line-format
See section 23.3.1 The Data Structure of the Mode Line .
indicate-empty-lines
See section 38.16 Usual Display Conventions .
left-margin
See section 32.17 Indentation .
left-margin-width
See section 38.12.3 Displaying in the Margins .
local-abbrev-table
See section 36. Abbrevs and Abbrev Expansion .
local-write-file-hooks
See section 25.2 Saving Buffers .
major-mode
See section 23.1.4 Getting Help about a Major Mode .
mark-active
See section 31.7 The Mark .
mark-ring
See section 31.7 The Mark .
minor-modes
See section 23.2 Minor Modes .
mode-line-buffer-identification
See section 23.3.2 Variables Used in the Mode Line .
mode-line-format
See section 23.3.1 The Data Structure of the Mode Line .
mode-line-modified
See section 23.3.2 Variables Used in the Mode Line .
mode-line-process
See section 23.3.2 Variables Used in the Mode Line .
mode-name
See section 23.3.2 Variables Used in the Mode Line .
overwrite-mode
See section 32.4 Inserting Text .
paragraph-separate
See section 34.8 Standard Regular Expressions Used in Editing .
paragraph-start
See section 34.8 Standard Regular Expressions Used in Editing .
point-before-scroll
Used for communication between mouse commands and scroll-bar commands.
require-final-newline
See section 32.4 Inserting Text .
right-margin-width
See section 38.12.3 Displaying in the Margins .
scroll-down-aggressively
See section 28.11 Textual Scrolling .
scroll-up-aggressively
See section 28.11 Textual Scrolling .
selective-display
See section 38.6 Selective Display .
selective-display-ellipses
See section 38.6 Selective Display .
tab-width
See section 38.16 Usual Display Conventions .
truncate-lines
See section 38.3 Truncation .
vc-mode
See section 23.3.2 Variables Used in the Mode Line .
Please take a moment to fill out
this visitor survey
You can help support this site by
visiting the advertisers that sponsor it! (only once each, though)