aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Porter2024-10-20 15:34:15 -0700
committerJim Porter2024-10-20 18:03:52 -0700
commitfc6854cbd4733ef4247f5d9fd99d88d7b79c4dc4 (patch)
tree5bab5681b549e0e76f4771aa39364080a3d0b4dd
parent183c5efc0fe80074a40ebebb684d787baf578ffe (diff)
downloademacs-fc6854cbd4733ef4247f5d9fd99d88d7b79c4dc4.tar.gz
emacs-fc6854cbd4733ef4247f5d9fd99d88d7b79c4dc4.zip
; * lisp/eshell/esh-var.el (eshell-glob-function): Remove unused defvar.
-rw-r--r--lisp/eshell/esh-var.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/eshell/esh-var.el b/lisp/eshell/esh-var.el
index df490dd4c6c..e3ff76abc26 100644
--- a/lisp/eshell/esh-var.el
+++ b/lisp/eshell/esh-var.el
@@ -607,8 +607,6 @@ Possible variable references are:
607 (t 607 (t
608 (error "Invalid variable reference")))) 608 (error "Invalid variable reference"))))
609 609
610(defvar eshell-glob-function)
611
612(defun eshell-parse-indices () 610(defun eshell-parse-indices ()
613 "Parse and return a list of index-lists. 611 "Parse and return a list of index-lists.
614This produces a series of Lisp forms to be processed by 612This produces a series of Lisp forms to be processed by
@@ -625,7 +623,7 @@ For example, \"[0 1][2]\" becomes:
625 (forward-char) 623 (forward-char)
626 (eshell-with-temp-command (or (eshell-unescape-inner-double-quote end) 624 (eshell-with-temp-command (or (eshell-unescape-inner-double-quote end)
627 (cons (point) end)) 625 (cons (point) end))
628 (let (eshell-glob-function (eshell-current-quoted nil)) 626 (let ((eshell-current-quoted nil))
629 (setq indices (cons (eshell-parse-arguments 627 (setq indices (cons (eshell-parse-arguments
630 (point-min) (point-max)) 628 (point-min) (point-max))
631 indices)))) 629 indices))))