Skip to content

Commit

Permalink
(eshell-parse-argument-hook): Put `number' property on entire argument
Browse files Browse the repository at this point in the history
since this is what eshell-lisp-command expects.
  • Loading branch information
Johan Bockg�rd committed Jul 4, 2009
1 parent ea98354 commit edf844d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions lisp/ChangeLog
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion lisp/eshell/esh-arg.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit edf844d

Please sign in to comment.