mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-04 20:27:45 +00:00
* lisp/emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
This commit is contained in:
parent
7aacaf15a2
commit
fbb5e33648
@ -1,5 +1,7 @@
|
||||
2012-08-10 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
|
||||
|
||||
* tutorial.el (help-with-tutorial):
|
||||
* emacs-lisp/copyright.el (copyright-update-directory):
|
||||
* emacs-lisp/autoload.el (autoload-find-generated-file)
|
||||
|
@ -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)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user