summaryrefslogtreecommitdiff
path: root/lisp/eshell/em-glob.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/eshell/em-glob.el')
-rw-r--r--lisp/eshell/em-glob.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/eshell/em-glob.el b/lisp/eshell/em-glob.el
index 319e2b4057d..6de0e89121e 100644
--- a/lisp/eshell/em-glob.el
+++ b/lisp/eshell/em-glob.el
@@ -260,9 +260,8 @@ the form:
(error "No matches found: %s" glob)
glob))))
-(eval-when-compile
- (defvar matches)
- (defvar message-shown))
+(defvar matches)
+(defvar message-shown)
;; FIXME does this really need to abuse matches, message-shown?
(defun eshell-glob-entries (path globs &optional recurse-p)