Mercurial > emacs
diff lisp/eshell/em-cmpl.el @ 62785:c20ea23d0a24
(eshell-complete-parse-arguments): If the character before a space at
the end of a line is \, assume the space is part of the last argument
rather than a final argument separator.
author | John Wiegley <johnw@newartisans.com> |
---|---|
date | Fri, 27 May 2005 02:11:39 +0000 |
parents | 695cf19ef79e |
children | b89e30bcd2bb |
line wrap: on
line diff
--- a/lisp/eshell/em-cmpl.el Fri May 27 01:36:41 2005 +0000 +++ b/lisp/eshell/em-cmpl.el Fri May 27 02:11:39 2005 +0000 @@ -370,7 +370,8 @@ (setq args (nthcdr (1+ l) args) posns (nthcdr (1+ l) posns)))) (assert (= (length args) (length posns))) - (when (and args (eq (char-syntax (char-before end)) ? )) + (when (and args (eq (char-syntax (char-before end)) ? ) + (not (eq (char-before (1- end)) ?\\))) (nconc args (list "")) (nconc posns (list (point)))) (cons (mapcar