From 503e99197f45d7142d138bc878f36868d580efa8 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sat, 11 Jun 2011 19:51:08 +0200 Subject: EMACS: init file is once again one big file --- emacs | 45 --------------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 emacs (limited to 'emacs') diff --git a/emacs b/emacs deleted file mode 100644 index 3f6971b..0000000 --- a/emacs +++ /dev/null @@ -1,45 +0,0 @@ -;; -*- mode: Emacs-Lisp; -*- -(add-to-list 'load-path "~/.emacs.d/elisp") -(add-to-list 'load-path "~/.emacs.d/naquadah-theme") -(add-to-list 'load-path "~/.emacs.d/elisp/markdown-mode") -(add-to-list 'load-path "~/.emacs.d/elisp/git-commit-mode") - -(setq d-dir "~/.emacs.d/") -(setq elisp-dir (concat d-dir "elisp/")) - -(setq d-el-files (directory-files d-dir nil "^[0-9]\\{2\\}-\.*el$")) -(setq elisp-el-files (directory-files elisp-dir nil "\\.el$")) - -;; Compile 3rd party elisp files -(byte-recompile-directory elisp-dir) -(while elisp-el-files - (let ((my-elisp-file-name (concat elisp-dir (car elisp-el-files)))) - (if (not (file-exists-p (concat my-elisp-file-name "c"))) - (byte-compile-file my-elisp-file-name)) - (setq elisp-el-files (cdr elisp-el-files)))) - -;; Compile my elisp files -(byte-recompile-directory d-dir) -(while d-el-files - (let ((my-file-name (concat d-dir (car d-el-files)))) - (if (not (file-exists-p (concat my-file-name "c"))) - (byte-compile-file my-file-name)) - (load (substring my-file-name 0 (- (length my-file-name) 3))) - (setq d-el-files (cdr d-el-files)))) - -(add-to-list 'compilation-finish-functions 'my-comp-finish-function) - -(custom-set-variables - ;; custom-set-variables was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - '(org-agenda-files (quote ("~/documents/org/main.org"))) - '(safe-local-variable-values (quote ((Mode . shell-script) (ispell-local-dictionary . nl))))) -(custom-set-faces - ;; custom-set-faces was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - ) -(put 'narrow-to-region 'disabled nil) -- cgit v1.2.3-54-g00ecf