]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/eshell/esh-var.el (eshell-glob-function): Remove unused defvar.
authorJim Porter <jporterbugs@gmail.com>
Sun, 20 Oct 2024 22:34:15 +0000 (15:34 -0700)
committerEshel Yaron <me@eshelyaron.com>
Tue, 22 Oct 2024 19:02:02 +0000 (21:02 +0200)
(cherry picked from commit fc6854cbd4733ef4247f5d9fd99d88d7b79c4dc4)

lisp/eshell/esh-var.el

index df490dd4c6cd181834f5921f73e73bc33c523e5d..e3ff76abc26525238ee775734b5c77c4c502ad03 100644 (file)
@@ -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))))