From 7a8d16a782edf994e055f070f53472e5f8f3d38e Mon Sep 17 00:00:00 2001 From: Matthew Kosarek Date: Thu, 28 Jul 2022 08:20:11 -0400 Subject: Save mode and cmake-ide --- .gitignore | 1 + lisp/cpp.el | 2 +- lisp/general.el | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index fbc5069..e801155 100644 --- a/.gitignore +++ b/.gitignore @@ -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) -- cgit v1.2.1