.emacs分割のすゝめ - KAYAC engineers' blog
init-loader使ãã®ããããã ãããã©ããã£ã¨æ軽ã«
;; ç°å¢æ¯ã®ãã¡ã¤ã«ã¯ï¼åã§åå (load (locate-user-emacs-file (prin1-to-string window-system))) ;; åå²ãã¡ã¤ã«èªã¿è¾¼ã¿ï¼~/.emacs.d/init.d/*.elã«ç½®ãã¦ããï¼ (let* ((dir (locate-user-emacs-file "init.d/")) (el-suffix "\\.el\\'") (files (mapcar (lambda (path) (replace-regexp-in-string el-suffix "" path)) (directory-files dir t el-suffix)))) (while files (load (car files)) (setq files (cdr files))))
ã£ã¦ãã¦ããç¹ã«ããã§å°ã£ããã¨ã¯ç¡ãã
ç°å¢æ¯ã®ãã¡ã¤ã«ã«ã¤ãã¦ã¯ä»¥åæ¸ãã¦ãâwindow-system毎のファイルを用意する場合の読み込み方について - ヒルズで働く@robarioの技ログ