From c72616deeb3e6baf4d24cd9f4bda3438a6a6a652 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Thu, 5 Jul 2012 02:07:38 +0200 Subject: Fix -c flag for dispass Since the prompt for dispass has changed in v0.1a8 the process filter didn't recognize the second prompt anymore. --- dispass.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dispass.el b/dispass.el index 40f4604..bed46ef 100644 --- a/dispass.el +++ b/dispass.el @@ -132,7 +132,7 @@ an eye out for LABEL." `(lambda (proc string) "Process STRING coming from PROC." - (cond ((string-match "^\\(Password\\|Again\\): ?$" string) + (cond ((string-match "^\\(Password[^:]*\\|Again\\): ?$" string) (process-send-string proc (concat (read-passwd string nil) "\n"))) -- cgit v1.2.3-54-g00ecf