diff options
| author | Glenn Morris | 2009-08-26 03:07:25 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-08-26 03:07:25 +0000 |
| commit | 6dc3311d252c4f85ab7ba93dfef6486afa2fbd5b (patch) | |
| tree | c0aceb708a01fcb3d8ca22b3532027691ec40df8 /lisp/format.el | |
| parent | e49c01791000a9d18cd7813c947c78b1ea1b7cf7 (diff) | |
| download | emacs-6dc3311d252c4f85ab7ba93dfef6486afa2fbd5b.tar.gz emacs-6dc3311d252c4f85ab7ba93dfef6486afa2fbd5b.zip | |
Define risky-local-variable property here rather than in files.el.
Diffstat (limited to 'lisp/format.el')
| -rw-r--r-- | lisp/format.el | 2 |
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. | |||
| 136 | 136 | ||
| 137 | PRESERVE, if non-nil, means that `format-write-file' should not remove | 137 | PRESERVE, if non-nil, means that `format-write-file' should not remove |
| 138 | this format from `buffer-file-format'.") | 138 | this format from `buffer-file-format'.") |
| 139 | ;; Autoload if this file no longer dumped. | ||
| 140 | (put 'format-alist 'risky-local-variable t) | ||
| 139 | 141 | ||
| 140 | ;;; Basic Functions (called from Lisp) | 142 | ;;; Basic Functions (called from Lisp) |
| 141 | 143 | ||