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-core.el


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/lisp/font-core.el
Date: Sun, 18 Aug 2002 20:54:48 -0400

Index: emacs/lisp/font-core.el
diff -c emacs/lisp/font-core.el:1.11 emacs/lisp/font-core.el:1.12
*** emacs/lisp/font-core.el:1.11        Thu Aug 15 16:09:34 2002
--- emacs/lisp/font-core.el     Sun Aug 18 20:54:48 2002
***************
*** 209,216 ****
    (funcall font-lock-function font-lock-mode)
    ;; Arrange to unfontify this buffer if we change major mode later.
    (if font-lock-mode
!       (add-hook 'change-major-mode-hook 'font-lock-unfontify-buffer)
!     (remove-hook 'change-major-mode-hook 'font-lock-unfontify-buffer)))
  
  (defun font-lock-default-function (font-lock-mode)
    ;; Turn on Font Lock mode.
--- 209,216 ----
    (funcall font-lock-function font-lock-mode)
    ;; Arrange to unfontify this buffer if we change major mode later.
    (if font-lock-mode
!       (add-hook 'change-major-mode-hook 'font-lock-unfontify-buffer nil t)
!     (remove-hook 'change-major-mode-hook 'font-lock-unfontify-buffer t)))
  
  (defun font-lock-default-function (font-lock-mode)
    ;; Turn on Font Lock mode.




reply via email to

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