From 89f75979d4eef7143c42441a28c8cf7129a24118 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Wed, 14 Sep 2011 16:16:16 +0200 Subject: [PATCH] EMACS: Simplify directory loading --- .emacs.d/auto-save-list/.nosearch | 0 .emacs.d/elpa/archives/.nosearch | 0 .emacs.d/eshell/.nosearch | 0 .emacs.d/init.el | 3 ++- .emacs.d/ryuslash-load-path.el | 11 ----------- .emacs.d/url/.nosearch | 0 6 files changed, 2 insertions(+), 12 deletions(-) create mode 100644 .emacs.d/auto-save-list/.nosearch create mode 100644 .emacs.d/elpa/archives/.nosearch create mode 100644 .emacs.d/eshell/.nosearch delete mode 100644 .emacs.d/ryuslash-load-path.el create mode 100644 .emacs.d/url/.nosearch diff --git a/.emacs.d/auto-save-list/.nosearch b/.emacs.d/auto-save-list/.nosearch new file mode 100644 index 0000000..e69de29 diff --git a/.emacs.d/elpa/archives/.nosearch b/.emacs.d/elpa/archives/.nosearch new file mode 100644 index 0000000..e69de29 diff --git a/.emacs.d/eshell/.nosearch b/.emacs.d/eshell/.nosearch new file mode 100644 index 0000000..e69de29 diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 723bc83..0e51dc6 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1,5 +1,6 @@ ;; -*- mode: Emacs-Lisp; -*- -(load "~/.emacs.d/ryuslash-load-path") +(let ((default-directory "~/.emacs.d/")) + (normal-top-level-add-subdirs-to-load-path)) ;;-----[ Defun ]--------------------------------------------------------- (defun oni/what-face (pos) diff --git a/.emacs.d/ryuslash-load-path.el b/.emacs.d/ryuslash-load-path.el deleted file mode 100644 index 771772b..0000000 --- a/.emacs.d/ryuslash-load-path.el +++ /dev/null @@ -1,11 +0,0 @@ -(add-to-list 'load-path "~/.emacs.d/elisp") -(add-to-list 'load-path "~/.emacs.d/elisp/git-commit-mode") -(add-to-list 'load-path "~/.emacs.d/elisp/lua-mode") -(add-to-list 'load-path "~/.emacs.d/elisp/markdown-mode") -(add-to-list 'load-path "~/.emacs.d/elisp/php-mode") -(add-to-list 'load-path "~/.emacs.d/elisp/rainbow") -(add-to-list 'load-path "~/.emacs.d/elisp/rainbow-delimiters") -(add-to-list 'load-path "~/.emacs.d/elisp/zencoding") -(add-to-list 'load-path "~/.emacs.d/naquadah-theme") - -(provide 'ryuslash-load-path) diff --git a/.emacs.d/url/.nosearch b/.emacs.d/url/.nosearch new file mode 100644 index 0000000..e69de29