changeset 103721:acd3dca1fbfb

(eshell-parse-argument-hook): Put `number' property on entire argument since this is what eshell-lisp-command expects.
author Johan Bockgård <bojohan@gnu.org>
date Sat, 04 Jul 2009 13:20:09 +0000
parents d5e5b77411fd
children 6b137b54c7d3
files lisp/ChangeLog lisp/eshell/esh-arg.el
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sat Jul 04 10:46:06 2009 +0000
+++ b/lisp/ChangeLog	Sat Jul 04 13:20:09 2009 +0000
@@ -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)
--- a/lisp/eshell/esh-arg.el	Sat Jul 04 10:46:06 2009 +0000
+++ b/lisp/eshell/esh-arg.el	Sat Jul 04 13:20:09 2009 +0000
@@ -53,7 +53,7 @@
 	(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