branch: externals/mpdired
commit c7a25c8359af6f3ecba4cf5505d756628b46ffd9
Author: Manuel Giraud <man...@ledu-giraud.fr>
Commit: Manuel Giraud <man...@ledu-giraud.fr>

    pause "connection broken" message
---
 mpdired.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/mpdired.el b/mpdired.el
index 6b17dcd007..7daed127ac 100644
--- a/mpdired.el
+++ b/mpdired.el
@@ -290,7 +290,8 @@
                 (mpdired--present-queue proc))))))))
 
 (defun mpdired--sentinel (process event)
-  (message "Process: %s had the event '%s'" process event))
+  (unless (string-search "connection broken" event)
+    (message "Process: %s had the event '%s'" process event)))
 
 (defun mpdired--local-p (host)
   ;; Hack: if the `expand-file-name' of host leads to an existing

Reply via email to