aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2012-11-18 21:04:14 +0100
committerGravatar Tom Willemsen2012-11-18 21:04:14 +0100
commitc93e291edb190285abd689a84a4ba692f58eeda0 (patch)
treead411e34854e5581081baf74f395fda6b35a7e9c
parent32040e08a02c49a092db878214fcb10d13893e1c (diff)
downloaddispass.el-c93e291edb190285abd689a84a4ba692f58eeda0.tar.gz
dispass.el-c93e291edb190285abd689a84a4ba692f58eeda0.zip
Don't try to kill the buffer
Let the sentinel handle that, not the filter.
-rw-r--r--dispass.el5
1 files changed, 1 insertions, 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