Emacsの初期設定
インストールの自動化(auto-install.el)
http://www.emacswiki.org/emacs/download/auto-install.el からauto-install.elをダウンロードして「.emacs.d/elisp/」に保存し、init.elに下記を追加。
;; auto-install.el (when (require 'auto-install nil t) (setq auto-install-directory "~/.emacs.d/elisp") (auto-install-update-emacswiki-package-name t) (auto-install-compatibility-setup))
バイトコンパイルの自動化(auto-async-byte-compile.el)
M-x install-elisp-from-emacswiki auto-async-byte-compile.el
でインストールし、init.elに下記を追加。
;; auto-async-byte-compile.el (require 'auto-async-byte-compile) (setq auto-async-byte-compile-exclude-file-regexp "/junk/") (add-hook 'emacs-lisp-mode-hook 'enable-auto-async-byte-compile-mode)