Emacs: projectile: Some variables can't be customized …

… but have to be setq-ed, apparently.
This commit is contained in:
tastytea 2021-01-07 23:50:23 +01:00
parent 7585e1944a
commit a3bb6c8d13

View File

@ -104,15 +104,15 @@ Ignores ARGS."
(projectile-kill-buffers) (projectile-kill-buffers)
(delete-other-windows) (delete-other-windows)
(purpose-set-window-purpose-dedicated-p nil nil))) (purpose-set-window-purpose-dedicated-p nil nil)))
:custom ((projectile-project-compilation-dir "build") :custom ((projectile-switch-project-action 'my/switch-project)
(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 ..")
(projectile-completion-system 'ivy) (projectile-completion-system 'ivy)
(projectile-indexing-method 'hybrid) ; Allow filtering. (projectile-indexing-method 'hybrid) ; Allow filtering.
(projectile-globally-ignored-file-suffixes '("~" "#"))) (projectile-globally-ignored-file-suffixes '("~" "#")))
:config (progn :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 (setq projectile-project-compilation-cmd
(concat "cmake --build . -- -j" (concat "cmake --build . -- -j"
(substring (substring