summaryrefslogtreecommitdiff
path: root/lisp/font-core.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2022-07-11 11:17:09 +0200
committerStefan Kangas <stefan@marxist.se>2022-07-11 11:31:03 +0200
commit99adfafdfc040dac11e2af1a59c445af1fa60445 (patch)
tree118fa2b7560ec44919d3b61db8eefcd948753918 /lisp/font-core.el
parentda3f3dd0910fae20df47e723088d737aaf0a88c7 (diff)
downloademacs-99adfafdfc040dac11e2af1a59c445af1fa60445.tar.gz
Re-add comment on autoloading cookies in preloaded files
This comment was removed in 2009, but it is useful to explain why we are keeping these autoload cookies. * lisp/bindings.el: * lisp/font-core.el: * lisp/format.el: * lisp/international/mule-cmds.el: Re-add comment on autoloading. * lisp/font-core.el (font-lock-defaults): Re-add autoload cookie, despite the fact that this file is preloaded.
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 db07aa011c4..f92d1e38306 100644
--- a/lisp/font-core.el
+++ b/lisp/font-core.el
@@ -66,6 +66,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.
+;;;###autoload
(put 'font-lock-defaults 'risky-local-variable t)
(defvar font-lock-function 'font-lock-default-function