From 581c4d1f1c2a6415ded31e03540b93b195056b96 Mon Sep 17 00:00:00 2001
From: Glenn Morris <rgm@gnu.org>
Date: Thu, 23 Feb 2017 17:12:49 -0500
Subject: [PATCH] * lisp/comint.el (comint-password-prompt-regexp): Add SUDO.
 (Bug#24817)

---
 lisp/comint.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/comint.el b/lisp/comint.el
index 830f4ca88f9..7bac30598f4 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -356,7 +356,7 @@ This variable is buffer-local."
    (regexp-opt
     '("Enter" "enter" "Enter same" "enter same" "Enter the" "enter the"
       "Old" "old" "New" "new" "'s" "login"
-      "Kerberos" "CVS" "UNIX" " SMB" "LDAP" "PEM"
+      "Kerberos" "CVS" "UNIX" " SMB" "LDAP" "PEM" "SUDO"
       "[sudo]" "Repeat" "Bad" "Retype")
     t)
    " +\\)"
-- 
2.39.5