/[emacs]/emacs/lisp/font-core.el
ViewVC logotype

Diff of /emacs/lisp/font-core.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by rms, Thu Aug 15 20:09:34 2002 UTC revision 1.12 by rms, Mon Aug 19 00:54:48 2002 UTC
# Line 209  your own function which is called when ` Line 209  your own function which is called when `
209    (funcall font-lock-function font-lock-mode)    (funcall font-lock-function font-lock-mode)
210    ;; Arrange to unfontify this buffer if we change major mode later.    ;; Arrange to unfontify this buffer if we change major mode later.
211    (if font-lock-mode    (if font-lock-mode
212        (add-hook 'change-major-mode-hook 'font-lock-unfontify-buffer)        (add-hook 'change-major-mode-hook 'font-lock-unfontify-buffer nil t)
213      (remove-hook 'change-major-mode-hook 'font-lock-unfontify-buffer)))      (remove-hook 'change-major-mode-hook 'font-lock-unfontify-buffer t)))
214    
215  (defun font-lock-default-function (font-lock-mode)  (defun font-lock-default-function (font-lock-mode)
216    ;; Turn on Font Lock mode.    ;; Turn on Font Lock mode.

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26