emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/font-lock.el


From: Luc Teirlinck
Subject: [Emacs-diffs] Changes to emacs/lisp/font-lock.el
Date: Sat, 04 Jun 2005 23:37:59 -0400

Index: emacs/lisp/font-lock.el
diff -c emacs/lisp/font-lock.el:1.260 emacs/lisp/font-lock.el:1.261
*** emacs/lisp/font-lock.el:1.260       Sat Jun  4 22:23:44 2005
--- emacs/lisp/font-lock.el     Sun Jun  5 03:37:59 2005
***************
*** 1595,1600 ****
--- 1595,1601 ----
    ;; Set fontification defaults iff not previously set for correct major mode.
    (unless (and font-lock-set-defaults
               (eq font-lock-mode-major-mode major-mode))
+     (setq font-lock-mode-major-mode major-mode)
      (set (make-local-variable 'font-lock-set-defaults) t)
      (make-local-variable 'font-lock-fontified)
      (make-local-variable 'font-lock-multiline)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]