summaryrefslogtreecommitdiff
path: root/lisp/format.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/format.el
parente49c01791000a9d18cd7813c947c78b1ea1b7cf7 (diff)
downloademacs-6dc3311d252c4f85ab7ba93dfef6486afa2fbd5b.tar.gz
Define risky-local-variable property here rather than in files.el.
Diffstat (limited to 'lisp/format.el')
-rw-r--r--lisp/format.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/format.el b/lisp/format.el
index ddca9872f35..f15026147c7 100644
--- a/lisp/format.el
+++ b/lisp/format.el
@@ -136,6 +136,8 @@ MODE-FN, if specified, is called when visiting a file with that format.
PRESERVE, if non-nil, means that `format-write-file' should not remove
this format from `buffer-file-format'.")
+;; Autoload if this file no longer dumped.
+(put 'format-alist 'risky-local-variable t)
;;; Basic Functions (called from Lisp)