diff options
| author | Dan Nicolaescu <dann@ics.uci.edu> | 2008-01-10 14:01:13 +0000 |
|---|---|---|
| committer | Dan Nicolaescu <dann@ics.uci.edu> | 2008-01-10 14:01:13 +0000 |
| commit | 146b3daf07f58412b21d44b95e43d48c9719c78b (patch) | |
| tree | 3e416288ed6204aca47931903606bb0910254652 /lisp/files.el | |
| parent | d1497e8d4d6842e8f47333360f155164196f0d66 (diff) | |
| download | emacs-146b3daf07f58412b21d44b95e43d48c9719c78b.tar.gz | |
(safe-local-eval-forms): Mark
(add-hook 'write-file-hooks 'time-stamp) as safe.
Diffstat (limited to 'lisp/files.el')
| -rw-r--r-- | lisp/files.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/files.el b/lisp/files.el index aa6e7f1082a..ea327f48f2c 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -2418,13 +2418,13 @@ symbol and VAL is a value that is considered safe." :group 'find-file :type 'alist) -(defcustom safe-local-eval-forms nil +(defcustom safe-local-eval-forms '((add-hook 'write-file-hooks 'time-stamp)) "Expressions that are considered safe in an `eval:' local variable. Add expressions to this list if you want Emacs to evaluate them, when they appear in an `eval' local variable specification, without first asking you for confirmation." :group 'find-file - :version "22.1" + :version "22.2" :type '(repeat sexp)) ;; Risky local variables: |
