Permalink
Browse files

don't add ~/.emacs.d/custom to load-path

  • Loading branch information...
dougm committed Mar 1, 2013
1 parent 0930081 commit 1b472e652525d2ad1a71a02f0af8cee5b6a08691
Showing with 4 additions and 3 deletions.
  1. +1 −0 custom/groovy.el
  2. +1 −0 custom/pp.el
  3. +2 −3 init.el
View
@@ -1,3 +1,4 @@
(autoload 'groovy-mode "groovy-mode" "Major mode for editing Groovy code." t)
(add-to-list 'auto-mode-alist '("\.groovy$" . groovy-mode))
(add-to-list 'auto-mode-alist '("\.gradle$" . groovy-mode))
+(add-hook 'groovy-mode-hook 'esk-prog-mode-hook)
View
@@ -1,2 +1,3 @@
(autoload 'puppet-mode "puppet-mode" "Major mode for editing Puppet code." t)
(add-to-list 'auto-mode-alist '("\.pp$" . puppet-mode))
+(add-hook 'puppet-mode-hook 'esk-prog-mode-hook)
View
@@ -1,11 +1,10 @@
(push (concat user-emacs-directory "bin") exec-path)
(defun load-dir (dir)
- (add-to-list 'load-path dir)
- (mapc 'load (directory-files dir nil "^[^#].*el$")))
+ (mapc 'load (directory-files dir t "^[^#].*el$")))
(load-file "~/.emacs.d/elpa.el")
-(load-dir (concat user-emacs-directory "vendor/"))
+(add-to-list 'load-path (concat user-emacs-directory "vendor/"))
(load-file "~/.emacs.d/custom.el")

0 comments on commit 1b472e6

Please sign in to comment.