term/shell: fix void-variable dir #2095
This commit is contained in:
parent
36ba16b295
commit
0212bb95f8
1 changed files with 2 additions and 1 deletions
|
@ -54,7 +54,8 @@ If popup is focused, kill it."
|
|||
(format "*doom:shell-popup:%s*"
|
||||
(if (bound-and-true-p persp-mode)
|
||||
(safe-persp-name (get-current-persp))
|
||||
"main")))))
|
||||
"main"))))
|
||||
(dir default-directory))
|
||||
(if-let (win (get-buffer-window buffer))
|
||||
(if (eq (selected-window) win)
|
||||
(let (confirm-kill-processes)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue