From 0d9053bbe90344d2b4b2a66867899366e0d147e1 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 12 Dec 2015 17:17:10 -0500 Subject: emacs: stuff --- .config/emacs/custom.el | 1 + .config/emacs/init.el | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.config/emacs/custom.el b/.config/emacs/custom.el index 55af402..6c29e97 100644 --- a/.config/emacs/custom.el +++ b/.config/emacs/custom.el @@ -31,6 +31,7 @@ (quote ("xelatex -interaction nonstopmode -output-directory %o %f" "xelatex -interaction nonstopmode -output-directory %o %f" "xelatex -interaction nonstopmode -output-directory %o %f"))) '(org-src-fontify-natively t) + '(safe-local-variable-values (quote ((c-set-style . "K&R")))) '(scroll-bar-mode nil) '(send-mail-function (quote smtpmail-send-it)) '(smtpmail-smtp-server "plus.smtp.mail.yahoo.com") diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 2fce725..7038b53 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -105,14 +105,16 @@ (set (make-local-variable 'tab-width) 2) (set (make-local-variable 'indent-tabs-mode) nil) ))) + (:name go-mode :type elpa) (:name graphviz-dot-mode :type elpa) (:name haml-mode :type elpa) (:name markdown-mode :type elpa :after (add-to-list 'auto-mode-alist '("\\.ronn\\'" . markdown-mode))) + (:name mediawiki :type elpa) (:name nginx-mode :type elpa :after (put 'nginx-indent-level 'safe-local-variable 'integerp)) (:name scss-mode :type elpa) - (:name go-mode :type elpa) + (:name yaml-mode :type elpa) )) ;; What packages el-get should install, both from above, and its ;; internal list of sources. @@ -135,6 +137,8 @@ graphviz-dot-mode haml-mode markdown-mode + yaml-mode + mediawiki nginx-mode php-mode-improved scss-mode -- cgit v1.2.3-54-g00ecf