Invoke '--remove-buffers before listing buffers "nil" has been showing up recently when I hit <C-x b>, presumably because 'buffer-name for a dead buffer returns 'nil. No big deal, we'll just call exwm-buffer-groups--remove-buffers before giving a list of buffers in the completing read. This *might* not be the most elegant solution, in which case I'll hopefully come up with something better later on.
1 files changed, 2 insertions(+), 0 deletions(-) M exwm-buffer-groups.el
@@ 84,6 84,8 @@ workspace." (elt exwm-buffer-groups-buffers exwm-workspace-current-index))) (current-buffer (buffer-name (other-buffer (current-buffer))))) ;; Clean up so that "nil" isn't showing up in the list. (exwm-buffer-groups--remove-buffers) (completing-read "Switch to buffer: " buffers-in-workspace nil nil nil nil current-buffer)))) (switch-to-buffer buffer-or-name))