aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Bockgård2009-07-04 13:20:09 +0000
committerJohan Bockgård2009-07-04 13:20:09 +0000
commit6ee21b07ace8763de3b0049aac4eceb4889b85f4 (patch)
tree0d9da83d10a3181c6b3a34fdcc627100fa7600aa
parenta59e7eed59809c40f71f52cfed5e3b3a02382823 (diff)
downloademacs-6ee21b07ace8763de3b0049aac4eceb4889b85f4.tar.gz
emacs-6ee21b07ace8763de3b0049aac4eceb4889b85f4.zip
(eshell-parse-argument-hook): Put `number' property on entire argument
since this is what eshell-lisp-command expects.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/eshell/esh-arg.el2
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 0f05c2e3e98..2f741cf8316 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12009-07-04 Johan Bockgård <bojohan@gnu.org>
2
3 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
4 property on entire argument since this is what eshell-lisp-command
5 expects.
6
12009-07-03 Michael Albinus <michael.albinus@gmx.de> 72009-07-03 Michael Albinus <michael.albinus@gmx.de>
2 8
3 * net/tramp-gvfs.el (tramp-gvfs-methods) 9 * net/tramp-gvfs.el (tramp-gvfs-methods)
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."
53 (goto-char (match-end 0)) 53 (goto-char (match-end 0))
54 (let ((str (match-string 0))) 54 (let ((str (match-string 0)))
55 (if (> (length str) 0) 55 (if (> (length str) 0)
56 (add-text-properties 0 1 '(number t) str)) 56 (add-text-properties 0 (length str) '(number t) str))
57 str)))) 57 str))))
58 58
59 ;; parse any non-special characters, based on the current context 59 ;; parse any non-special characters, based on the current context