diff options
author | Chong Yidong <cyd@gnu.org> | 2012-08-11 10:13:55 +0800 |
---|---|---|
committer | Chong Yidong <cyd@gnu.org> | 2012-08-11 10:13:55 +0800 |
commit | 5725bd2cc0e691dadc31bd958f210b1bbcf17c49 (patch) | |
tree | a8faec22f21eff83d918076adcc9c8c49c4cc820 /lisp/emacs-lisp/copyright.el | |
parent | 5723992258a8025e29ba9fcae923182fb5456426 (diff) | |
parent | 711f4590cddbc83c509c1c5e852ef4e528a39780 (diff) | |
download | emacs-5725bd2cc0e691dadc31bd958f210b1bbcf17c49.tar.gz |
Merge from emacs-24; up to 2012-05-02T11:38:01Z!lekktu@gmail.com
Diffstat (limited to 'lisp/emacs-lisp/copyright.el')
-rw-r--r-- | lisp/emacs-lisp/copyright.el | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/copyright.el b/lisp/emacs-lisp/copyright.el index 8e96d95c5dd..c3616c6e490 100644 --- a/lisp/emacs-lisp/copyright.el +++ b/lisp/emacs-lisp/copyright.el @@ -362,10 +362,11 @@ If FIX is non-nil, run `copyright-fix-years' instead." (dolist (file (directory-files directory t match nil)) (unless (file-directory-p file) (message "Updating file `%s'" file) - (find-file file) - (let ((inhibit-read-only t) - (enable-local-variables :safe) - copyright-query) + ;; FIXME we should not use find-file+save+kill. + (let ((enable-local-variables :safe) + (enable-local-eval nil)) + (find-file file)) + (let ((inhibit-read-only t)) (if fix (copyright-fix-years) (copyright-update))) |