]> git.eshelyaron.com Git - emacs.git/commitdiff
Undo part of previous copyright.el change.
authorGlenn Morris <rgm@gnu.org>
Tue, 25 Jan 2011 17:41:28 +0000 (09:41 -0800)
committerGlenn Morris <rgm@gnu.org>
Tue, 25 Jan 2011 17:41:28 +0000 (09:41 -0800)
* lisp/emacs-lisp/copyright.el (copyright-update-directory):
Undo part of previous change - don't find files literally, we need
comment-start-skip, etc.

lisp/ChangeLog
lisp/emacs-lisp/copyright.el

index 41608b4037c19580e79f1fdd664ee26d02a16abe..a55f3dde5f29c571bc47c9d0cd4379b42b5a5ac5 100644 (file)
@@ -15,7 +15,7 @@
        Do not mess with the fill-prefix.
        Do not call copyright-update.
        (copyright-update-directory): Optionally, fix years rather than update.
-       Skip directories.  Find files literally, with only safe local vars.
+       Skip directories.  Find files with only safe local vars.
 
 2011-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
 
index cf5a48b5a292f3b9d627933bc16fa703130ff593..582785a0e909b34ae05fe8c56d2fc1ddb30e5f90 100644 (file)
@@ -363,7 +363,7 @@ 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-literally file)
+      (find-file file)
       (let ((inhibit-read-only t)
            (enable-local-variables :safe)
            copyright-query)