From 7e6e2304f863f898e812b53f03b83f16e7f798c4 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 25 Jan 2011 09:41:28 -0800 Subject: [PATCH] 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. --- lisp/ChangeLog | 2 +- lisp/emacs-lisp/copyright.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.2