comparison lisp/font-lock.el @ 56244:8b126cc57f70

(font-lock-set-defaults): Fix previous change.
author Richard M. Stallman <rms@gnu.org>
date Thu, 24 Jun 2004 23:30:50 +0000
parents f186f03b4d6b
children da55b7f62f95 8e4ea1e2c254
comparison
equal deleted inserted replaced
56243:70734e473dc0 56244:8b126cc57f70
1559 (when removed-keywords 1559 (when removed-keywords
1560 (font-lock-remove-keywords nil removed-keywords)) 1560 (font-lock-remove-keywords nil removed-keywords))
1561 ;; Now compile the keywords. 1561 ;; Now compile the keywords.
1562 (unless (eq (car font-lock-keywords) t) 1562 (unless (eq (car font-lock-keywords) t)
1563 (set (make-local-variable 'font-lock-keywords) 1563 (set (make-local-variable 'font-lock-keywords)
1564 (font-lock-compile-keywords keywords t)))))) 1564 (font-lock-compile-keywords font-lock-keywords t))))))
1565 1565
1566 ;;; Colour etc. support. 1566 ;;; Colour etc. support.
1567 1567
1568 ;; Originally face attributes were specified via `font-lock-face-attributes'. 1568 ;; Originally face attributes were specified via `font-lock-face-attributes'.
1569 ;; Users then changed the default face attributes by setting that variable. 1569 ;; Users then changed the default face attributes by setting that variable.