branch: elpa/gc-buffers commit 1867fdcf0cd92d1438d1654bc1c46fd83ee45e72 Author: Akib Azmain Turja <a...@disroot.org> Commit: Akib Azmain Turja <a...@disroot.org>
Fix typo --- gc-buffers.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gc-buffers.el b/gc-buffers.el index b9a5346190..a706747386 100644 --- a/gc-buffers.el +++ b/gc-buffers.el @@ -166,8 +166,8 @@ killed. Check if BUFFER is a Flymake diagnostics buffer of a killed buffer." (and (eq (buffer-local-value 'major-mode buffer) 'flymake-diagnostics-buffer-mode) - (buffer-live-p (buffer-local-value - 'flymake--diagnostics-buffer-source buffer)))) + (not (buffer-live-p (buffer-local-value + 'flymake--diagnostics-buffer-source buffer))))) (defun gc-buffers-flymake-diagnostics-all (buffer) "Kill all Flymake diagnostics buffers.