diff options
author | Glenn Morris <rgm@gnu.org> | 2012-08-09 23:56:01 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2012-08-09 23:56:01 -0700 |
commit | fbb5e3364871172431e32b4b722d1e1fd6312330 (patch) | |
tree | 22e816b13d075b2dc0333256c6119e2e02ed31e4 /lisp/emacs-lisp | |
parent | 7aacaf15a2ec7d17e75d94b902fa895d7d196026 (diff) | |
download | emacs-fbb5e3364871172431e32b4b722d1e1fd6312330.tar.gz emacs-fbb5e3364871172431e32b4b722d1e1fd6312330.tar.bz2 emacs-fbb5e3364871172431e32b4b722d1e1fd6312330.zip |
* lisp/emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/copyright.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/emacs-lisp/copyright.el b/lisp/emacs-lisp/copyright.el index 0da5b2abbb8..889e3541455 100644 --- a/lisp/emacs-lisp/copyright.el +++ b/lisp/emacs-lisp/copyright.el @@ -363,11 +363,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) - (enable-local-eval nil) - 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))) |