summaryrefslogtreecommitdiff
path: root/lisp/eshell/esh-cmd.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
commitc92d90564a5d56ec7b05a091376c856e2f38fda6 (patch)
tree78163eb85d735ca2a4f50193074642c38c90e3d1 /lisp/eshell/esh-cmd.el
parent4e71cfc5e7938f582e82c345de31c0793a047f9a (diff)
downloademacs-c92d90564a5d56ec7b05a091376c856e2f38fda6.tar.gz
Remove unnecessary eval-when-compiles and eval-and-compiles.
Diffstat (limited to 'lisp/eshell/esh-cmd.el')
-rw-r--r--lisp/eshell/esh-cmd.el9
1 files changed, 4 insertions, 5 deletions
diff --git a/lisp/eshell/esh-cmd.el b/lisp/eshell/esh-cmd.el
index c28ba970c41..1c75eca28ee 100644
--- a/lisp/eshell/esh-cmd.el
+++ b/lisp/eshell/esh-cmd.el
@@ -1,7 +1,7 @@
;;; esh-cmd.el --- command invocation
-;; 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>
@@ -477,9 +477,8 @@ hooks should be run before and after the command."
"Execute named command"
(eshell-command-result-p "+ 1 2" "3\n"))
-(eval-when-compile
- (defvar eshell-command-body)
- (defvar eshell-test-body))
+(defvar eshell-command-body)
+(defvar eshell-test-body)
(defsubst eshell-invokify-arg (arg &optional share-output silent)
"Change ARG so it can be invoked from a structured command.