diff options
author | Kyle Meyer <meyerkya@gmail.com> | 2013-07-03 18:05:05 -0400 |
---|---|---|
committer | Kyle Meyer <meyerkya@gmail.com> | 2013-07-03 18:05:40 -0400 |
commit | 2bcdc58784e21f387c52986bbfb1fd8b1f1d946d (patch) | |
tree | 93830839a4ad0cb820b3edc6ec8a7b2a1759cf53 /init | |
parent | c2d9deb5051b47081d66d12241f80b79b6736582 (diff) | |
download | emacs.d-2bcdc58784e21f387c52986bbfb1fd8b1f1d946d.tar.gz |
minor clean up
Diffstat (limited to 'init')
-rw-r--r-- | init/10-km-pkg.el | 32 | ||||
-rw-r--r-- | init/km-babel.el | 21 | ||||
-rw-r--r-- | init/km-modes.el | 3 |
3 files changed, 26 insertions, 30 deletions
diff --git a/init/10-km-pkg.el b/init/10-km-pkg.el index a139740..e4efa32 100644 --- a/init/10-km-pkg.el +++ b/init/10-km-pkg.el @@ -6,23 +6,21 @@ (package-initialize) (require 'cl) -(defvar km/packages '( - undo-tree - key-chord - org - ess - lua-mode - haskell-mode - markdown-mode - less-css-mode - auctex - magit - smex - paredit - yasnippet - wrap-region - ace-jump-mode - ) +(defvar km/packages '(undo-tree + key-chord + org + ess + lua-mode + haskell-mode + markdown-mode + less-css-mode + auctex + magit + smex + paredit + yasnippet + wrap-region + ace-jump-mode) "Default packages") (defun km/packages-installed-p () diff --git a/init/km-babel.el b/init/km-babel.el index 0a72278..4bd25c8 100644 --- a/init/km-babel.el +++ b/init/km-babel.el @@ -1,13 +1,13 @@ ;; set up babel languages (org-babel-do-load-languages 'org-babel-load-languages - '( (perl . t) - (sh . t) - (python . t) - (R . t) - (emacs-lisp . t) - (latex . t) - )) + '((perl . t) + (sh . t) + (python . t) + (R . t) + (emacs-lisp . t) + (latex . t))) + ;; don't ask for confirmation before running code (setq org-confirm-babel-evaluate nil) @@ -16,11 +16,10 @@ ;; http://orgmode.org/worg/org-tutorials/org-latex-export.html (setq org-export-latex-listings 'minted) (setq org-export-latex-custom-lang-environments - '( - (R "rcode") + '((R "rcode") (sh "shcode") - (python "pythoncode") - )) + (python "pythoncode"))) + ;; (setq org-export-latex-minted-options ;; '(("frame" "lines") ;; ("fontsize" "\\scriptsize") diff --git a/init/km-modes.el b/init/km-modes.el index 51b1b46..97021cd 100644 --- a/init/km-modes.el +++ b/init/km-modes.el @@ -5,8 +5,7 @@ ("\\.zsh$" . shell-script-mode) ("\\.*rc$" . conf-unix-mode) ("\\.org.txt$" . org-mode) - ("PKGBUILD" . shell-script-mode) - ) + ("PKGBUILD" . shell-script-mode)) "Auto mode mappings") (mapcar |