From fd749704ff567c4766e2b8e192d6fa46708a7ee3 Mon Sep 17 00:00:00 2001 From: Lin Sun Date: Mon, 26 Dec 2022 00:00:23 +0000 Subject: [PATCH] Fix the #15852 Wrong type argument --- layers/+lang/python/funcs.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layers/+lang/python/funcs.el b/layers/+lang/python/funcs.el index d6f95fcf3..a059c193e 100644 --- a/layers/+lang/python/funcs.el +++ b/layers/+lang/python/funcs.el @@ -188,8 +188,8 @@ ROOT-DIR should be the path for the environemnt, `nil' for clean up" (set (flycheck-checker-executable-variable (concat "python-" x)) nil))))) (defun spacemacs/python-setup-everything (&optional root-dir) - (apply 'spacemacs//python-setup-shell root-dir) - (apply 'spacemacs//python-setup-checkers root-dir)) + (funcall 'spacemacs//python-setup-shell root-dir) + (funcall 'spacemacs//python-setup-checkers root-dir)) (defun spacemacs/python-toggle-breakpoint () "Add a break point, highlight it."