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:
Fabien Dubosson 2016-04-08 14:32:26 +02:00 committed by syl20bnr
parent 5752c87ac0
commit 44470aa64f
1 changed files with 2 additions and 2 deletions

View File

@ -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)))))