diff options
author | Matthew Kosarek <mattkae@protonmail.com> | 2022-07-28 08:20:11 -0400 |
---|---|---|
committer | Matthew Kosarek <mattkae@protonmail.com> | 2022-07-28 08:20:11 -0400 |
commit | 7a8d16a782edf994e055f070f53472e5f8f3d38e (patch) | |
tree | 7b6da5d27c7158ba8888ce85f1e099c75dad3d7c | |
parent | 6a20904f14b4ca8e01f09a5011fadf90caf721ff (diff) |
Save mode and cmake-ide
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | lisp/cpp.el | 2 | ||||
-rw-r--r-- | lisp/general.el | 1 |
3 files changed, 3 insertions, 1 deletions
@@ -4,3 +4,4 @@ irony auto-save-list *.~ projects +.emacs.desktop diff --git a/lisp/cpp.el b/lisp/cpp.el index 77ca740..448b3a3 100644 --- a/lisp/cpp.el +++ b/lisp/cpp.el @@ -6,7 +6,6 @@ (setq tab-stop-list '(4 8 12 16 20 24 28 32 36 40 44 48 52 56 60)) (setq tab-width 4) - (cmake-ide-setup) ;; (electric-indent-mode 0) ) @@ -52,6 +51,7 @@ '(add-hook 'flycheck-mode-hook #'flycheck-irony-setup)) (require 'cmake-ide) +(cmake-ide-setup) (provide 'cpp) diff --git a/lisp/general.el b/lisp/general.el index caf2f92..5e066c4 100644 --- a/lisp/general.el +++ b/lisp/general.el @@ -36,6 +36,7 @@ (setq inhibit-splash-screen t) (setq initial-scratch-message "") (setq initial-major-mode 'text-mode) + (desktop-save-mode 1) ;; Projectile for projects (require 'projectile) |