Mercurial > emacs
changeset 37227:e7d998ab9275
made font-lock-keywords-case-fold-search buffer-local
author | Sam Steingold <sds@gnu.org> |
---|---|
date | Thu, 05 Apr 2001 18:49:46 +0000 |
parents | aac92cb5ba96 |
children | 21998919cfe9 |
files | lisp/ChangeLog lisp/font-lock.el |
diffstat | 2 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Thu Apr 05 18:46:47 2001 +0000 +++ b/lisp/ChangeLog Thu Apr 05 18:49:46 2001 +0000 @@ -1,3 +1,9 @@ +2001-04-05 Sam Steingold <sds@gnu.org> + + * font-lock.el (font-lock-keywords-case-fold-search): Make + buffer-local. This fixes a very annoying bug when loading a Lisp + file made font-lock case-insensitive. + 2001-04-05 Gerd Moellmann <gerd@gnu.org> * faces.el (defface menu): Doc fix.
--- a/lisp/font-lock.el Thu Apr 05 18:46:47 2001 +0000 +++ b/lisp/font-lock.el Thu Apr 05 18:49:46 2001 +0000 @@ -555,6 +555,7 @@ (defvar font-lock-keywords-case-fold-search nil "*Non-nil means the patterns in `font-lock-keywords' are case-insensitive. This is normally set via `font-lock-defaults'.") +(make-variable-buffer-local 'font-lock-keywords-case-fold-search) (defvar font-lock-syntactically-fontified 0 "Point up to which `font-lock-syntactic-keywords' has been applied.