Commit 7e6e2304 authored by Glenn Morris's avatar Glenn Morris

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.
parent ed68f651
......@@ -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>
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment