diff options
author | Johan Bockgård <bojohan@gnu.org> | 2009-07-04 13:20:09 +0000 |
---|---|---|
committer | Johan Bockgård <bojohan@gnu.org> | 2009-07-04 13:20:09 +0000 |
commit | 6ee21b07ace8763de3b0049aac4eceb4889b85f4 (patch) | |
tree | 0d9da83d10a3181c6b3a34fdcc627100fa7600aa /lisp/eshell/esh-arg.el | |
parent | a59e7eed59809c40f71f52cfed5e3b3a02382823 (diff) | |
download | emacs-6ee21b07ace8763de3b0049aac4eceb4889b85f4.tar.gz emacs-6ee21b07ace8763de3b0049aac4eceb4889b85f4.tar.bz2 emacs-6ee21b07ace8763de3b0049aac4eceb4889b85f4.zip |
(eshell-parse-argument-hook): Put `number' property on entire argument
since this is what eshell-lisp-command expects.
Diffstat (limited to 'lisp/eshell/esh-arg.el')
-rw-r--r-- | lisp/eshell/esh-arg.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/eshell/esh-arg.el b/lisp/eshell/esh-arg.el index 590c22f5864..e2292793025 100644 --- a/lisp/eshell/esh-arg.el +++ b/lisp/eshell/esh-arg.el @@ -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 |