diff options
| author | Glenn Morris | 2012-08-09 23:56:01 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-08-09 23:56:01 -0700 |
| commit | fbb5e3364871172431e32b4b722d1e1fd6312330 (patch) | |
| tree | 22e816b13d075b2dc0333256c6119e2e02ed31e4 | |
| parent | 7aacaf15a2ec7d17e75d94b902fa895d7d196026 (diff) | |
| download | emacs-fbb5e3364871172431e32b4b722d1e1fd6312330.tar.gz emacs-fbb5e3364871172431e32b4b722d1e1fd6312330.zip | |
* lisp/emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/emacs-lisp/copyright.el | 10 |
2 files changed, 7 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 92afc1ab857..65017383de8 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2012-08-10 Glenn Morris <rgm@gnu.org> | 1 | 2012-08-10 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * emacs-lisp/copyright.el (copyright-update-directory): Logic fix. | ||
| 4 | |||
| 3 | * tutorial.el (help-with-tutorial): | 5 | * tutorial.el (help-with-tutorial): |
| 4 | * emacs-lisp/copyright.el (copyright-update-directory): | 6 | * emacs-lisp/copyright.el (copyright-update-directory): |
| 5 | * emacs-lisp/autoload.el (autoload-find-generated-file) | 7 | * emacs-lisp/autoload.el (autoload-find-generated-file) |
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." | |||
| 363 | (dolist (file (directory-files directory t match nil)) | 363 | (dolist (file (directory-files directory t match nil)) |
| 364 | (unless (file-directory-p file) | 364 | (unless (file-directory-p file) |
| 365 | (message "Updating file `%s'" file) | 365 | (message "Updating file `%s'" file) |
| 366 | (find-file file) | 366 | ;; FIXME we should not use find-file+save+kill. |
| 367 | (let ((inhibit-read-only t) | 367 | (let ((enable-local-variables :safe) |
| 368 | (enable-local-variables :safe) | 368 | (enable-local-eval nil)) |
| 369 | (enable-local-eval nil) | 369 | (find-file file)) |
| 370 | copyright-query) | 370 | (let ((inhibit-read-only t)) |
| 371 | (if fix | 371 | (if fix |
| 372 | (copyright-fix-years) | 372 | (copyright-fix-years) |
| 373 | (copyright-update))) | 373 | (copyright-update))) |