mirror of
https://github.com/correl/dotfiles.git
synced 2024-12-19 11:12:23 +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
|
Any elisp files dropped into =~/.emacs.local.d/= will be
|
||||||
automatically loaded.
|
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
|
#+name: auto-load
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(defun my/load-elisp-directory (path)
|
(defun my/load-elisp-directory (path)
|
||||||
|
@ -459,7 +462,6 @@
|
||||||
(load-file lisp-file))
|
(load-file lisp-file))
|
||||||
(directory-files (expand-file-name path) t file-pattern)))))
|
(directory-files (expand-file-name path) t file-pattern)))))
|
||||||
|
|
||||||
(my/load-elisp-directory "~/.emacs.d/init.d")
|
|
||||||
(my/load-elisp-directory "~/.emacs.local.d")
|
(my/load-elisp-directory "~/.emacs.local.d")
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
* Configuration file layout
|
* Configuration file layout
|
||||||
|
|
Loading…
Reference in a new issue