From 37b9650722c104dc26013ca8973ed373003f26b6 Mon Sep 17 00:00:00 2001 From: Jim Porter Date: Sun, 20 Oct 2024 15:34:15 -0700 Subject: [PATCH] ; * lisp/eshell/esh-var.el (eshell-glob-function): Remove unused defvar. (cherry picked from commit fc6854cbd4733ef4247f5d9fd99d88d7b79c4dc4) --- lisp/eshell/esh-var.el | 4 +--- 1 file changed, 1 insertion(+), 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: (t (error "Invalid variable reference")))) -(defvar eshell-glob-function) - (defun eshell-parse-indices () "Parse and return a list of index-lists. This produces a series of Lisp forms to be processed by @@ -625,7 +623,7 @@ For example, \"[0 1][2]\" becomes: (forward-char) (eshell-with-temp-command (or (eshell-unescape-inner-double-quote end) (cons (point) end)) - (let (eshell-glob-function (eshell-current-quoted nil)) + (let ((eshell-current-quoted nil)) (setq indices (cons (eshell-parse-arguments (point-min) (point-max)) indices)))) -- 2.39.5