Don't try to kill the buffer

Let the sentinel handle that, not the filter.
This commit is contained in:
Tom Willemsen 2012-11-18 21:04:14 +01:00
parent 32040e08a0
commit c93e291edb

View file

@ -185,10 +185,7 @@ an eye out for LABEL."
(with-current-buffer buffer (with-current-buffer buffer
(insert (match-string 1 string)) (insert (match-string 1 string))
(clipboard-kill-ring-save (point-min) (point-max)) (clipboard-kill-ring-save (point-min) (point-max))
(message "Password copied to clipboard.") (message "Password copied to clipboard.")))))))
(unless (eq (process-status proc) 'run)
(kill-buffer buffer))))))))
(defun dispass-start-process (label create length) (defun dispass-start-process (label create length)
"Start dispass process. When CREATE is non-nil send along the "Start dispass process. When CREATE is non-nil send along the