From 6ee21b07ace8763de3b0049aac4eceb4889b85f4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Johan=20Bockg=C3=A5rd?= Date: Sat, 4 Jul 2009 13:20:09 +0000 Subject: [PATCH] (eshell-parse-argument-hook): Put `number' property on entire argument since this is what eshell-lisp-command expects. --- lisp/ChangeLog | 6 ++++++ lisp/eshell/esh-arg.el | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0f05c2e3e98..2f741cf8316 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2009-07-04 Johan Bockgård + + * 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 * 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." (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 -- 2.39.2