diff options
-rw-r--r-- | pactl.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -52,7 +52,7 @@ (message "Profile change failed."))) (defun pactl-get-cards () - (kill-buffer pactl-buffer) + (when (get-buffer pactl-buffer) (kill-buffer pactl-buffer)) (call-process-shell-command "pactl -f json list cards" nil pactl-buffer) (pactl-parse-buffer)) |