Fix the broken python repl invocation through SPC a '

Without this chage, it ends up with the following error:
  'Wrong type argument: commandp, python-start-or-switch-repl'
This commit is contained in:
Hans Jang 2018-01-06 16:27:44 +11:00 committed by syl20bnr
parent 76003c1a7d
commit d35268a1d6

View file

@ -282,7 +282,7 @@
:mode (("SConstruct\\'" . python-mode) ("SConscript\\'" . python-mode))
:init
(progn
(spacemacs/register-repl 'python 'python-start-or-switch-repl "python")
(spacemacs/register-repl 'python 'spacemacs/python-start-or-switch-repl "python")
(add-hook 'inferior-python-mode-hook
#'spacemacs//inferior-python-setup-hook)
(add-hook 'python-mode-hook #'spacemacs//python-default)