]> git.eshelyaron.com Git - emacs.git/commitdiff
made font-lock-keywords-case-fold-search buffer-local
authorSam Steingold <sds@gnu.org>
Thu, 5 Apr 2001 18:49:46 +0000 (18:49 +0000)
committerSam Steingold <sds@gnu.org>
Thu, 5 Apr 2001 18:49:46 +0000 (18:49 +0000)
lisp/ChangeLog
lisp/font-lock.el

index be559093e028c284f0354270c74030d17eda16a2..7e02e5fc73a9c6f70e0d8650680f98851f3e6fbe 100644 (file)
@@ -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.
index f46317d45d3d2a1cdb694d6eb1908267d3ac4c6b..4937b80a0b7412c65f7e2e7f063687d85a427101 100644 (file)
@@ -555,6 +555,7 @@ This is normally set via `font-lock-defaults'.")
 (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.