Skip to content

Commit

Permalink
Fix shells asking for "Run program"
Browse files Browse the repository at this point in the history
After 63dc8f7 `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.
  • Loading branch information
StreakyCobra authored and syl20bnr committed Apr 9, 2016
1 parent 5752c87 commit 44470aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layers/+tools/shell/funcs.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)))))

0 comments on commit 44470aa

Please sign in to comment.