From a3bb6c8d135ae67fcf226c74993830d208edd073 Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 7 Jan 2021 23:50:23 +0100 Subject: [PATCH] =?UTF-8?q?Emacs:=20projectile:=20Some=20variables=20can't?= =?UTF-8?q?=20be=20customized=20=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … but have to be setq-ed, apparently. --- init.d/programming/common.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/init.d/programming/common.el b/init.d/programming/common.el index c2b4be5..406d4a5 100644 --- a/init.d/programming/common.el +++ b/init.d/programming/common.el @@ -104,15 +104,15 @@ Ignores ARGS." (projectile-kill-buffers) (delete-other-windows) (purpose-set-window-purpose-dedicated-p nil nil))) - :custom ((projectile-project-compilation-dir "build") - (projectile-switch-project-action 'my/switch-project) - (projectile-project-configure-cmd - "cmake -GUnix\\ Makefiles -DCMAKE_BUILD_TYPE=Debug \ --DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DWITH_TESTS=YES ..") + :custom ((projectile-switch-project-action 'my/switch-project) (projectile-completion-system 'ivy) (projectile-indexing-method 'hybrid) ; Allow filtering. (projectile-globally-ignored-file-suffixes '("~" "#"))) :config (progn + (setq projectile-project-compilation-dir "build") + (setq projectile-project-configure-cmd + "cmake -GUnix\\ Makefiles -DCMAKE_BUILD_TYPE=Debug \ +-DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DWITH_TESTS=YES ..") (setq projectile-project-compilation-cmd (concat "cmake --build . -- -j" (substring