summaryrefslogtreecommitdiff
path: root/.config/emacs/init.el
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-02-11 18:26:01 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2017-02-11 18:27:06 -0500
commit54f87a1321656c43a8e25fb00bb048a8f732ed14 (patch)
tree7e564801a73ed8eb978aa0dffd8b7b7e26d5aa9f /.config/emacs/init.el
parent4da06eb82780b2592aa0d44c3f97c1b7caa9525c (diff)
Stuff
Diffstat (limited to '.config/emacs/init.el')
-rw-r--r--.config/emacs/init.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index 8d8859e..b7ee6df 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -13,10 +13,12 @@
elmo-cache-directory (concat xdg-cache-home "emacs/elmo-cache/")
auto-save-list-file-prefix (concat xdg-cache-home "emacs/auto-save-list/saves-")
tramp-persistency-file-name (concat xdg-cache-home "emacs/tramp-cache.el")
- custom-file (concat user-emacs-directory "custom.el")
wl-init-file (concat user-emacs-directory "wl.el")
)
+(setq custom-file (concat user-emacs-directory "custom.el"))
+(load custom-file 'noerror)
+
;;;; The basics that I can't use Emacs without ;;;;;;;;;;;;;;;;;;;;;;;
(show-paren-mode 1)
(column-number-mode 1)
@@ -36,7 +38,6 @@
point-entered minibuffer-avoid-prompt
face minibuffer-prompt
))
-(load custom-file 'noerror)
;;;; Early settings ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@@ -299,5 +300,7 @@ sh-script.el is broken."
(add-to-list 'auto-mode-alist '("PKGBUILD" . sh-mode))
(add-to-list 'auto-mode-alist '("SRCBUILD" . sh-mode))
+(add-to-list 'auto-mode-alist '("\\.mak\\'" . makefile-gmake-mode))
(add-to-list 'auto-mode-alist '("\\.jad\\'" . java-mode))
+
(put 'downcase-region 'disabled nil)