From afc22e4265e1bff5ca3c63f5b6adb3fdeb1b1bfe Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 28 Jul 2019 02:27:56 +0200 Subject: [PATCH] lang/python: fix dont-auto-install-server advice The function being overriden takes no arguments. --- modules/lang/python/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lang/python/config.el b/modules/lang/python/config.el index e0579cbad..97ed346cf 100644 --- a/modules/lang/python/config.el +++ b/modules/lang/python/config.el @@ -260,6 +260,6 @@ called.") ;; Installing the server should be a deliberate act; either 'M-x ;; lsp-python-ms-setup' or setting `lsp-python-ms-executable' to an existing ;; install will do. - (defadvice! +python--dont-auto-install-server-a (orig-fn) + (defadvice! +python--dont-auto-install-server-a () :override #'lsp-python-ms--command-string lsp-python-ms-executable))