summaryrefslogtreecommitdiff
path: root/lisp/font-core.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2009-08-26 03:07:25 +0000
committerGlenn Morris <rgm@gnu.org>2009-08-26 03:07:25 +0000
commit6dc3311d252c4f85ab7ba93dfef6486afa2fbd5b (patch)
treec0aceb708a01fcb3d8ca22b3532027691ec40df8 /lisp/font-core.el
parente49c01791000a9d18cd7813c947c78b1ea1b7cf7 (diff)
downloademacs-6dc3311d252c4f85ab7ba93dfef6486afa2fbd5b.tar.gz
Define risky-local-variable property here rather than in files.el.
Diffstat (limited to 'lisp/font-core.el')
-rw-r--r--lisp/font-core.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/font-core.el b/lisp/font-core.el
index 88c67d8dece..0ba7295cc06 100644
--- a/lisp/font-core.el
+++ b/lisp/font-core.el
@@ -75,6 +75,8 @@ Other variables include that for syntactic keyword fontification,
functions, `font-lock-fontify-buffer-function',
`font-lock-unfontify-buffer-function', `font-lock-fontify-region-function',
`font-lock-unfontify-region-function', and `font-lock-inhibit-thing-lock'.")
+;; Autoload if this file no longer dumped.
+(put 'font-lock-defaults 'risky-local-variable t)
(make-variable-buffer-local 'font-lock-defaults)
(defvar font-lock-defaults-alist nil