From 25accdfbff5b00f8d26c48f70004aada70817865 Mon Sep 17 00:00:00 2001 From: tastytea Date: Wed, 10 Apr 2019 05:18:54 +0200 Subject: [PATCH] Moved some projectile-settings to :custom. --- init.el | 18 +++++++++++------- server/server | 2 +- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/init.el b/init.el index b46ec07..e623c6f 100644 --- a/init.el +++ b/init.el @@ -1,5 +1,5 @@ ;;; init.el --- tastytea's Emacs init file. -;; Time-stamp: <2019-04-09T00:38:23+00:00> +;; Time-stamp: <2019-04-10T03:04:50+00:00> ;;; Commentary: ;; I am using this file with Emacs 26, but most of it will probably work with @@ -209,14 +209,18 @@ (projectile-kill-buffers) (tabbar-ruler-group-user-buffers) (neotree-hide)) + :custom + (projectile-project-compilation-dir "build") + (projectile-project-configure-cmd + "cmake -DCMAKE_BUILD_TYPE=Debug \ + -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -G 'Unix Makefiles' ..") + ;; Use 1 core less than available for compiling. + (projectile-project-compilation-cmd + (concat "cmake --build . -- -j" + (shell-command-to-string "nproc --ignore=1"))) + (projectile-switch-project-action 'neotree-projectile-action) :config (projectile-mode +1) - (setq projectile-switch-project-action 'neotree-projectile-action - projectile-project-compilation-dir "build" - projectile-project-configure-cmd - "cmake -DCMAKE_BUILD_TYPE=Debug \ - -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -G 'Unix Makefiles' .." - projectile-project-compilation-cmd "cmake --build .") :bind ("C-c p" . 'projectile-command-map) (:map projectile-command-map diff --git a/server/server b/server/server index 1e6fadb..ddbf7f6 100644 --- a/server/server +++ b/server/server @@ -1,2 +1,2 @@ -127.0.0.1:51313 6782 +127.0.0.1:51313 27153 phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh \ No newline at end of file