diff options
-rw-r--r-- | lisp/eshell/esh-cmd.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/eshell/esh-cmd.el b/lisp/eshell/esh-cmd.el index ef64fa95867..79df4d5ffba 100644 --- a/lisp/eshell/esh-cmd.el +++ b/lisp/eshell/esh-cmd.el @@ -1401,7 +1401,7 @@ messages, and errors." (if (and (stringp arg) (> (length arg) 0) (get-text-property 0 'number arg)) - (setcar a (string-to-number arg)))) + (setcar args (string-to-number arg)))) (setq args (cdr args)))) (eshell-apply object eshell-last-arguments)) (setq eshell-last-arguments args |