mirror of
https://github.com/correl/dotfiles.git
synced 2024-12-18 11:06:17 +00:00
[emacs] update and document elisp autoloader
This commit is contained in:
parent
54f9181c00
commit
b78ea96dbf
1 changed files with 3 additions and 1 deletions
|
@ -450,6 +450,9 @@
|
|||
Any elisp files dropped into =~/.emacs.local.d/= will be
|
||||
automatically loaded.
|
||||
|
||||
I usually use this is a testing ground for new configuration before
|
||||
adding it here, and also for any personal / sensitive configuration.
|
||||
|
||||
#+name: auto-load
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(defun my/load-elisp-directory (path)
|
||||
|
@ -459,7 +462,6 @@
|
|||
(load-file lisp-file))
|
||||
(directory-files (expand-file-name path) t file-pattern)))))
|
||||
|
||||
(my/load-elisp-directory "~/.emacs.d/init.d")
|
||||
(my/load-elisp-directory "~/.emacs.local.d")
|
||||
#+END_SRC
|
||||
* Configuration file layout
|
||||
|
|
Loading…
Reference in a new issue