From 8aaabedde4f1ee045c9fedbcf20fecb3d217531a Mon Sep 17 00:00:00 2001 From: gxlin Date: Fri, 16 Apr 2021 11:04:08 +0800 Subject: Add a lot of emacs config --- .emacs.d/site-lisp/load-config.el | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .emacs.d/site-lisp/load-config.el (limited to '.emacs.d/site-lisp') diff --git a/.emacs.d/site-lisp/load-config.el b/.emacs.d/site-lisp/load-config.el new file mode 100644 index 0000000..02f9113 --- /dev/null +++ b/.emacs.d/site-lisp/load-config.el @@ -0,0 +1,6 @@ +(defun load-config (filename &optional dirname) + (unless dirname (setq dirname "~/.dotfiles/.emacs.d/")) + (load (concat dirname (symbol-name filename)) 'noerror)) + +(defun load-mode (modename) + (load-config modename "~/.dotfiles/.emacs.d/modes/")) -- cgit v1.2.3