changeset 15814:ab40944b1b6e

(font-lock-inhibit-modes): Deleted. (turn-on-font-lock-if-enabled): Deleted.
author Richard M. Stallman <rms@gnu.org>
date Thu, 01 Aug 1996 21:45:04 +0000
parents c52454296042
children 65dd474f666e
files lisp/font-lock.el
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/font-lock.el	Thu Aug 01 21:38:20 1996 +0000
+++ b/lisp/font-lock.el	Thu Aug 01 21:45:04 1996 +0000
@@ -599,9 +599,6 @@
  (c-mode c++-mode)
 means that Font Lock mode is turned on for buffers in C and C++ modes only.")
 
-(defvar font-lock-inhibit-modes '(lisp-interaction-mode)
-  "Major modes for which Global Font Lock mode should not apply.")
-
 ;;;###autoload
 (defun global-font-lock-mode (&optional arg message)
   "Toggle Global Font Lock mode.
@@ -647,7 +644,6 @@
 	  (set-buffer (car font-lock-buffers))
 	  (if (and (or font-lock-defaults
 		       (assq major-mode font-lock-defaults-alist))
-		   (not (memq major-mode font-lock-inhibit-modes))
 		   (or (eq font-lock-global-modes t)
 		       (if (eq (car-safe font-lock-global-modes) 'not)
 			   (not (memq major-mode (cdr font-lock-global-modes)))