From: Glenn Morris Date: Tue, 25 Jan 2011 17:41:28 +0000 (-0800) Subject: Undo part of previous copyright.el change. X-Git-Tag: emacs-pretest-24.0.90~104^2~618^2~1322^2~127 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7e6e2304f863f898e812b53f03b83f16e7f798c4;p=emacs.git 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. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 41608b4037c..a55f3dde5f2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 diff --git a/lisp/emacs-lisp/copyright.el b/lisp/emacs-lisp/copyright.el index cf5a48b5a29..582785a0e90 100644 --- a/lisp/emacs-lisp/copyright.el +++ b/lisp/emacs-lisp/copyright.el @@ -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)