Mercurial > emacs
view lispref/=buffer-local.texi @ 26920:e510f839bc63
System for adding and removing keywords.
Both local (previously added keyword) and global keywords
can be removed.
(font-lock-remove-keywords): New user-level function.
(font-lock-update-removed-keyword-alist): New internal function.
(font-lock-removed-keywords-alist): New variable.
(font-lock-add-keywords): Updates `font-lock-removed-keywords-alist'.
Empty `font-lock-keywords-alist' when `append' is `set' to avoid
growing datastructures.
(font-lock-set-defaults): Removes keywords stored in
`font-lock-removed-keywords-alist' after local keywords added.
(c-keywords, c++-keywords): Better "case" support for
complex constant expressions, e.g. "case 1<<A_BIT_NO:".
(c-keywords): Only highlight preprocessor
directives when spelled correctly.
(font-lock-match-c++-structor-declaration,
c++-keywords): Fontify constructors and destructors with function
face inside C++ class declarations.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 16 Dec 1999 15:03:34 +0000 |
parents | ff534fe68eca |
children |
line wrap: on
line source
@c -*-texinfo-*- @setfilename ../info/locals @node Standard Buffer-Local Variables, Standard Keymaps, Standard Errors, Top @appendix Standard Buffer-Local Variables The table below shows all of the variables that are automatically local (when set) in each buffer in Emacs Version 18 with the common packages loaded. @table @code @item abbrev-mode @xref{Abbrevs}. @item auto-fill-function @xref{Auto Filling}. @item buffer-auto-save-file-name @xref{Auto-Saving}. @item buffer-backed-up @xref{Backup Files}. @item buffer-display-table @xref{Active Display Table}. @item buffer-file-name @xref{Buffer File Name}. @item buffer-file-truename @xref{Buffer File Name}. @item buffer-read-only @xref{Read Only Buffers}. @item buffer-saved-size @xref{Point}. @item case-fold-search @xref{Searching and Case}. @item ctl-arrow @xref{Control Char Display}. @item default-directory @xref{System Environment}. @item fill-column @xref{Auto Filling}. @item left-margin @xref{Indentation}. @item list-buffers-directory @xref{Buffer File Name}. @item local-abbrev-table @xref{Abbrevs}. @item major-mode @xref{Mode Help}. @item mark-ring @xref{The Mark}. @item minor-modes @xref{Minor Modes}. @item mode-name @xref{Mode Line Variables}. @item overwrite-mode @xref{Insertion}. @item paragraph-separate @xref{Standard Regexps}. @item paragraph-start @xref{Standard Regexps}. @item require-final-newline @xref{Insertion}. @item selective-display @xref{Selective Display}. @item selective-display-ellipses @xref{Selective Display}. @item tab-width @xref{Control Char Display}. @item truncate-lines @xref{Truncation}. @end table