From c93e291edb190285abd689a84a4ba692f58eeda0 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sun, 18 Nov 2012 21:04:14 +0100 Subject: Don't try to kill the buffer Let the sentinel handle that, not the filter. --- dispass.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dispass.el b/dispass.el index 12a7706..c6910ca 100644 --- a/dispass.el +++ b/dispass.el @@ -185,10 +185,7 @@ an eye out for LABEL." (with-current-buffer buffer (insert (match-string 1 string)) (clipboard-kill-ring-save (point-min) (point-max)) - (message "Password copied to clipboard.") - - (unless (eq (process-status proc) 'run) - (kill-buffer buffer)))))))) + (message "Password copied to clipboard."))))))) (defun dispass-start-process (label create length) "Start dispass process. When CREATE is non-nil send along the -- cgit v1.2.3-54-g00ecf