Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
62784:269312974c2f | 62785:c20ea23d0a24 |
---|---|
368 (setq a (cdr a) i (1+ i))) | 368 (setq a (cdr a) i (1+ i))) |
369 (and l | 369 (and l |
370 (setq args (nthcdr (1+ l) args) | 370 (setq args (nthcdr (1+ l) args) |
371 posns (nthcdr (1+ l) posns)))) | 371 posns (nthcdr (1+ l) posns)))) |
372 (assert (= (length args) (length posns))) | 372 (assert (= (length args) (length posns))) |
373 (when (and args (eq (char-syntax (char-before end)) ? )) | 373 (when (and args (eq (char-syntax (char-before end)) ? ) |
374 (not (eq (char-before (1- end)) ?\\))) | |
374 (nconc args (list "")) | 375 (nconc args (list "")) |
375 (nconc posns (list (point)))) | 376 (nconc posns (list (point)))) |
376 (cons (mapcar | 377 (cons (mapcar |
377 (function | 378 (function |
378 (lambda (arg) | 379 (lambda (arg) |