summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2011-01-25 09:41:28 -0800
committerGlenn Morris <rgm@gnu.org>2011-01-25 09:41:28 -0800
commit7e6e2304f863f898e812b53f03b83f16e7f798c4 (patch)
tree16e35b5c2a1b24a65a3f1bbaf948cd99de81dbf2 /lisp
parented68f651c05c2e4d72dd57fe5d513f391cb01cba (diff)
downloademacs-7e6e2304f863f898e812b53f03b83f16e7f798c4.tar.gz
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.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/emacs-lisp/copyright.el2
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 <monnier@iro.umontreal.ca>
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)