]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
authorGlenn Morris <rgm@gnu.org>
Fri, 10 Aug 2012 06:56:01 +0000 (23:56 -0700)
committerGlenn Morris <rgm@gnu.org>
Fri, 10 Aug 2012 06:56:01 +0000 (23:56 -0700)
lisp/ChangeLog
lisp/emacs-lisp/copyright.el

index 92afc1ab8575634f58871a1deca70b1a639c2074..65017383de8093acacd64959584e0858f9f57739 100644 (file)
@@ -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)
index 0da5b2abbb8d41ab018216dcc39af8a105878d7a..889e3541455396cf478083403c7acd273129f1d2 100644 (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)))