]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix Bug#24203
authorMichael Albinus <michael.albinus@gmx.de>
Wed, 17 Aug 2016 08:10:47 +0000 (10:10 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 17 Aug 2016 08:10:47 +0000 (10:10 +0200)
* lisp/comint.el (comint-password-prompt-regexp): Relax regexp.  (Bug#24203)

lisp/comint.el

index 863374d944c257003b98646fa7d6d2a98acf6c86..0319eeb80c765f71c456e1ba522005c2a4be2845 100644 (file)
@@ -350,8 +350,8 @@ This variable is buffer-local."
     t)
    " +\\)"
    "\\(?:" (regexp-opt password-word-equivalents) "\\|Response\\)"
-   "\\(?:\\(?:, try\\)? *again\\| (empty for no passphrase)\\| (again)\\)?\
-\\(?: for [^::៖]+\\)?[::៖]\\s *\\'")
+   "\\(?:\\(?:, try\\)? *again\\| (empty for no passphrase)\\| (again)\\)?"
+   "\\(?: for .+\\)?[::៖]\\s *\\'")
   "Regexp matching prompts for passwords in the inferior process.
 This is used by `comint-watch-for-password-prompt'."
   :version "25.2"