[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/files.el
From: |
Richard M . Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/files.el |
Date: |
Sat, 20 Aug 2005 17:49:28 -0400 |
Index: emacs/lisp/files.el
diff -c emacs/lisp/files.el:1.784 emacs/lisp/files.el:1.785
*** emacs/lisp/files.el:1.784 Mon Aug 15 02:05:01 2005
--- emacs/lisp/files.el Sat Aug 20 21:49:28 2005
***************
*** 1733,1738 ****
--- 1733,1744 ----
(set-auto-mode))
(report-errors "File local-variables error: %s"
(hack-local-variables)))
+ ;; Turn font lock off and on, to make sure it takes account of
+ ;; whatever file local variables are relevant to it.
+ (when (and font-lock-mode (eq (car font-lock-keywords) t))
+ (setq font-lock-keywords (cadr font-lock-keywords))
+ (font-lock-mode 1))
+
(if (fboundp 'ucs-set-table-for-input) ; don't lose when building
(ucs-set-table-for-input)))
- [Emacs-diffs] Changes to emacs/lisp/files.el, Thien-Thi Nguyen, 2005/08/06
- [Emacs-diffs] Changes to emacs/lisp/files.el, Richard M . Stallman, 2005/08/09
- [Emacs-diffs] Changes to emacs/lisp/files.el, Richard M . Stallman, 2005/08/14
- [Emacs-diffs] Changes to emacs/lisp/files.el,
Richard M . Stallman <=
- [Emacs-diffs] Changes to emacs/lisp/files.el, Richard M . Stallman, 2005/08/30
- [Emacs-diffs] Changes to emacs/lisp/files.el, Michael Albinus, 2005/08/30
- [Emacs-diffs] Changes to emacs/lisp/files.el, Juanma Barranquero, 2005/08/31