From 2fb7ce5eedeab129c719275821bae5334f46defe Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 30 Sep 2019 12:02:22 +0200 Subject: [PATCH] Run cmake-ide-load-db after cmake configure, instead of cmake-ide-run-cmake. --- init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 6657e7e..67bd80f 100644 --- a/init.el +++ b/init.el @@ -327,7 +327,8 @@ With argument, do this that many times." (defun my/configure-project (old-function &rest arguments) "Runs `projectile-configure-project' followed by `cmake-ide-run-cmake'." (apply old-function arguments) - (cmake-ide-run-cmake) + ;; (cmake-ide-run-cmake) + (cmake-ide-load-db) ) (advice-add 'projectile-configure-project :around #'my/configure-project) :bind