]> git.eshelyaron.com Git - emacs.git/commitdiff
(toplevel): Require `jit-lock' only if
authorGerd Moellmann <gerd@gnu.org>
Wed, 5 Sep 2001 13:38:49 +0000 (13:38 +0000)
committerGerd Moellmann <gerd@gnu.org>
Wed, 5 Sep 2001 13:38:49 +0000 (13:38 +0000)
font-lock-support-mode is set to jit-lock-mode.

lisp/ChangeLog
lisp/font-lock.el

index b57fb4e8c553c0f4ca7cb898f87c395fd2a26f8f..2f99a7a70cc6cb5960a615e8054d2f308d10151e 100644 (file)
@@ -1,3 +1,8 @@
+2001-09-05  Gerd Moellmann  <gerd@gnu.org>
+
+       * font-lock.el (toplevel): Require `jit-lock' only if
+       font-lock-support-mode is set to jit-lock-mode.
+
 2001-09-05  Eli Zaretskii  <eliz@is.elta.co.il>
 
        * international/quail.el (quail-use-package, quail-inactivate)
index ba59b9568ead25d2af6ab8ee01037094560d677f..ef4bf6f2836a768024e7406bb056a942b789ccb2 100644 (file)
@@ -2981,6 +2981,8 @@ See also `java-font-lock-extra-types'.")
 ;; Provide ourselves:
 
 (provide 'font-lock)
-(require 'jit-lock)
+
+(when (eq font-lock-support-mode 'jit-lock-mode)
+  (require 'jit-lock))
 
 ;;; font-lock.el ends here