diff options
author | defanor <defanor@uberspace.net> | 2021-09-16 20:42:06 +0300 |
---|---|---|
committer | defanor <defanor@uberspace.net> | 2021-09-16 20:42:06 +0300 |
commit | 43bdf04169a5fa5c8253160bf026d4ae771ccbf3 (patch) | |
tree | ba80bbe533513dcad57875a1b71c15c204ee6cb5 | |
parent | c0dd74c76bda6d6da1c6ffcdf00e2200a0c06623 (diff) |
Only check non-list variables in xmpp-kill-buffers
It's fine for the list ones to be nil.
-rw-r--r-- | emacs/xmpp.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/emacs/xmpp.el b/emacs/xmpp.el index f7576d8..6beac2d 100644 --- a/emacs/xmpp.el +++ b/emacs/xmpp.el @@ -391,9 +391,7 @@ (defun xmpp-kill-buffers (&optional proc) (interactive) - (when (and xmpp-query-buffers - xmpp-muc-buffers - xmpp-log-buffer + (when (and xmpp-log-buffer xmpp-console-buffer xmpp-xml-buffer) (mapcar (lambda (b) (kill-buffer (cdr b))) xmpp-query-buffers) |