all repos — archive/dotfiles @ 9fcd243e3b4c2fb9a540b7d0651c730fd2ac31d1

Superseded by nixfiles

Emacs: merge programming sections
Alan Pearce alan@alanpearce.co.uk
Thu, 15 May 2014 19:05:28 +0100
commit

9fcd243e3b4c2fb9a540b7d0651c730fd2ac31d1

parent

fa2854f23faba51da732d07977362b7034e5d034

1 files changed, 15 insertions(+), 17 deletions(-)

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -591,6 +591,21 @@ (req-package flycheck   :diminish (flycheck-mode . " ✓")
   :init (global-flycheck-mode))
 
+(req-package auto-compile
+  :init (add-hook 'emacs-lisp-mode-hook #'auto-compile-on-save-mode))
+
+(req-package cc-mode
+  :init (progn
+          (add-hook 'c-mode-common-hook #'electric-indent-mode))
+  :config (progn
+              (setq c-default-style '((java-mode . "java")
+                                    (awk-mode . "awk")
+                                    (other . "k&r"))
+                  c-basic-offset 4)
+            (c-set-offset 'case-label '+)))
+
+(req-package quickrun)
+
 ;;;; Projects
 
 (req-package projectile
@@ -867,23 +882,6 @@ (error (message "Invalid expression")            (insert (current-kill 0)))))
 
 (bind-key "C-c e" #'eval-and-replace)
-
-;;;; Programming
-
-(req-package auto-compile
-  :init (add-hook 'emacs-lisp-mode-hook #'auto-compile-on-save-mode))
-
-(req-package cc-mode
-  :init (progn
-          (add-hook 'c-mode-common-hook #'electric-indent-mode))
-  :config (progn
-              (setq c-default-style '((java-mode . "java")
-                                    (awk-mode . "awk")
-                                    (other . "k&r"))
-                  c-basic-offset 4)
-            (c-set-offset 'case-label '+)))
-
-(req-package quickrun)
 
 ;;;; Web Development