Undo part of previous copyright.el change.

* lisp/emacs-lisp/copyright.el (copyright-update-directory):
Undo part of previous change - don't find files literally, we need
comment-start-skip, etc.
This commit is contained in:
Glenn Morris 2011-01-25 09:41:28 -08:00
parent ed68f651c0
commit 7e6e2304f8
2 changed files with 2 additions and 2 deletions

View 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>

View 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)