summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-08-01 21:45:04 +0000
committerRichard M. Stallman <rms@gnu.org>1996-08-01 21:45:04 +0000
commit3df8e8acec151d3e05d504a6825762052ca6ddb1 (patch)
tree135256325c82726b39853dbfe04eed4f9915771b
parent5dc92c4d82da03b64a931eb36813036a2d1ea411 (diff)
downloademacs-3df8e8acec151d3e05d504a6825762052ca6ddb1.tar.gz
(font-lock-inhibit-modes): Deleted.
(turn-on-font-lock-if-enabled): Deleted.
-rw-r--r--lisp/font-lock.el4
1 files changed, 0 insertions, 4 deletions
diff --git a/lisp/font-lock.el b/lisp/font-lock.el
index 885a654aae4..fd3ccdc0d1a 100644
--- a/lisp/font-lock.el
+++ b/lisp/font-lock.el
@@ -599,9 +599,6 @@ begins with `not'. For example:
(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 @@ turned on in a buffer if its major mode is one of `font-lock-global-modes'."
(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)))