term/shell: fix void-variable buffer error on +shell/toggle

This commit is contained in:
Henrik Lissner 2019-08-05 11:29:22 -04:00
parent 42869ece55
commit 6647ebc736
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -49,7 +49,7 @@ prompt."
If popup is visible but unselected, selected it.
If popup is focused, kill it."
(interactive)
(let* ((buffer-name
(let ((buffer
(get-buffer-create
(format "*doom:shell-popup:%s*"
(if (bound-and-true-p persp-mode)