]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix pcomplete typo in recent regex typo fix
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 20 Mar 2019 16:23:05 +0000 (09:23 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 20 Mar 2019 16:23:43 +0000 (09:23 -0700)
Problem reported by Stefan Monnier in:
https://lists.gnu.org/r/emacs-devel/2019-03/msg00682.html
* lisp/pcomplete.el (pcomplete-parse-comint-arguments):
Restore the trailing backslash (but two of them this time).

lisp/pcomplete.el

index ef285db57e88728aa0df4335c8cf2488a0318796..d0f2a2e24d11509124989a6571642959f7c491f7 100644 (file)
@@ -768,7 +768,7 @@ this is `comint-dynamic-complete-functions'."
        (push (point) begins)
         (while
             (progn
-              (skip-chars-forward "^ \t\n")
+              (skip-chars-forward "^ \t\n\\\\")
               (when (eq (char-after) ?\\)
                 (forward-char 1)
                 (unless (eolp)