diff options
author | Tom Willemsen | 2011-04-14 20:48:36 +0200 |
---|---|---|
committer | Tom Willemsen | 2011-04-14 20:49:49 +0200 |
commit | d2ce5467c31ea4b505c1414307fdf374ab53f550 (patch) | |
tree | d8ebc8d6b45fa203a0aeeede8409b4685c80c035 /emacs.d | |
parent | 93ba50adafe2de70c16f4ca4b8db86d25bbe7a4f (diff) | |
download | dotfiles-d2ce5467c31ea4b505c1414307fdf374ab53f550.tar.gz dotfiles-d2ce5467c31ea4b505c1414307fdf374ab53f550.zip |
Bytecompile
Byte-compile and recompile all modules in .emacs.d and .emacs.d/elisp
Diffstat (limited to 'emacs.d')
-rw-r--r-- | emacs.d/00-paths.el | 3 | ||||
-rw-r--r-- | emacs.d/20-folding.el | 22 |
2 files changed, 10 insertions, 15 deletions
diff --git a/emacs.d/00-paths.el b/emacs.d/00-paths.el index 1990c59..e883739 100644 --- a/emacs.d/00-paths.el +++ b/emacs.d/00-paths.el @@ -1,5 +1,2 @@ (add-to-list 'load-path "~/.emacs.d/elisp") (add-to-list 'load-path "~/.emacs.d/naquadah-theme") -(add-to-list 'load-path "~/.emacs.d/auto-complete-clang") -(add-to-list 'load-path "~/.emacs.d/nxhtml") -(add-to-list 'load-path "~/.emacs.d/elisp/muse") diff --git a/emacs.d/20-folding.el b/emacs.d/20-folding.el index f59c11a..fcf7cc4 100644 --- a/emacs.d/20-folding.el +++ b/emacs.d/20-folding.el @@ -1,12 +1,10 @@ -(autoload 'folding-mode "folding" "Folding mode" t) - -(add-hook 'folding-mode-hook - (lambda () - (local-set-key [C-tab] 'folding-toggle-show-hide))) - -(add-hook 'c-mode-hook - (lambda () - (folding-mode))) -(add-hook 'emacs-lisp-mode-hook - (lambda () - (folding-mode))) +(if (load "folding") + (progn (add-hook 'folding-mode-hook + (lambda () + (local-set-key [C-tab] 'folding-toggle-show-hide))) + (add-hook 'c-mode-hook + (lambda () + (folding-mode))) + (add-hook 'emacs-lisp-mode-hook + (lambda () + (folding-mode))))) |