Fix shells asking for "Run program"
After 63dc8f7ea0
`SPC '` started to ask
for "Run program" instead of opening the shell with the defined shell.
This commit remove the `call-interactively` that are causing this
problem. `SPC u SPC '` is still working as far as I tested.
This commit is contained in:
parent
5752c87ac0
commit
44470aa64f
|
@ -62,10 +62,10 @@ SHELL is the SHELL function to use (i.e. when FUNC represents a terminal)."
|
|||
(require 'shell-pop)
|
||||
(if (equal '(4) index)
|
||||
;; no popup
|
||||
(call-interactively ',func)
|
||||
(,func ,shell)
|
||||
(shell-pop--set-shell-type
|
||||
'shell-pop-shell-type
|
||||
(backquote (,name
|
||||
,(concat "*" name "*")
|
||||
(lambda nil (call-interactively ',func ,shell)))))
|
||||
(lambda nil (,func ,shell)))))
|
||||
(shell-pop index)))))
|
||||
|
|
Loading…
Reference in New Issue