]> git.eshelyaron.com Git - emacs.git/commitdiff
(eshell-parse-argument-hook): Put `number' property on entire argument
authorJohan Bockgård <bojohan@gnu.org>
Sat, 4 Jul 2009 13:20:09 +0000 (13:20 +0000)
committerJohan Bockgård <bojohan@gnu.org>
Sat, 4 Jul 2009 13:20:09 +0000 (13:20 +0000)
since this is what eshell-lisp-command expects.

lisp/ChangeLog
lisp/eshell/esh-arg.el

index 0f05c2e3e9854f0bc463b29398aa41c67a1a7670..2f741cf8316a70124eda72c8485f87f5de025dfe 100644 (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)
index 590c22f5864e88d6cc259a8ae35b7f1382734573..e2292793025b55b908bbbc538d67cfc8b5a6ba78 100644 (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