(eshell-parse-argument-hook): Put `number' property on entire argument

since this is what eshell-lisp-command expects.
This commit is contained in:
Johan Bockgård
2009-07-04 13:20:09 +00:00
parent a59e7eed59
commit 6ee21b07ac
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2009-07-04 Johan Bockgård <bojohan@gnu.org>
* eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
property on entire argument since this is what eshell-lisp-command
expects.
2009-07-03 Michael Albinus <michael.albinus@gmx.de>
* net/tramp-gvfs.el (tramp-gvfs-methods)

View File

@@ -53,7 +53,7 @@ yield the values intended."
(goto-char (match-end 0))
(let ((str (match-string 0)))
(if (> (length str) 0)
(add-text-properties 0 1 '(number t) str))
(add-text-properties 0 (length str) '(number t) str))
str))))
;; parse any non-special characters, based on the current context