summaryrefslogtreecommitdiff
path: root/lisp/eshell/esh-util.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-06-07 02:37:13 +0000
committerGlenn Morris <rgm@gnu.org>2008-06-07 02:37:13 +0000
commit1a32899de36b245916e553a7fda8ab37fea6fc1e (patch)
treef0f4e00a422c4f139002f8e9d36c2bb063fe2e5d /lisp/eshell/esh-util.el
parent966bd7bd3ef9fe8f803055c2a1b41cf5dd1e603a (diff)
downloademacs-1a32899de36b245916e553a7fda8ab37fea6fc1e.tar.gz
Remove unnecessary eval-when-compiles and eval-and-compiles.
Diffstat (limited to 'lisp/eshell/esh-util.el')
-rw-r--r--lisp/eshell/esh-util.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/eshell/esh-util.el b/lisp/eshell/esh-util.el
index 95a14dba662..fa95c1561e6 100644
--- a/lisp/eshell/esh-util.el
+++ b/lisp/eshell/esh-util.el
@@ -1,7 +1,7 @@
;;; esh-util.el --- general utilities
-;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004,
-;; 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
+;; 2008 Free Software Foundation, Inc.
;; Author: John Wiegley <johnw@gnu.org>
@@ -593,8 +593,7 @@ If NOSORT is non-nil, the list is not sorted--its order is unpredictable.
(cons file (eshell-file-attributes (expand-file-name file directory)))))
(directory-files directory full match nosort)))))
-(eval-when-compile
- (defvar ange-cache))
+(defvar ange-cache)
(defun eshell-directory-files-and-attributes (dir &optional full match nosort)
"Make sure to use the handler for `directory-file-and-attributes'."