diff options
author | John Turner <jturner.usa@gmail.com> | 2022-07-03 23:20:44 -0400 |
---|---|---|
committer | John Turner <jturner.usa@gmail.com> | 2022-07-03 23:20:44 -0400 |
commit | c284f5b2c4e4ed72a2a060cb91353408f5a2b416 (patch) | |
tree | 9902357b42b23071df6b6aa2668aac14e805f6be /init.el | |
parent | 250b3ef0d5c3cbc39129ce632838994a17f57fa2 (diff) | |
download | emacs.d-c284f5b2c4e4ed72a2a060cb91353408f5a2b416.tar.gz |
moved non-config functions into a new lisp directory
We will now put non-config related functions (any elisp libraries or
snippets that I write) into a new ".emacs.d/lisp" directory and separate them from
the config code in the ".emacs.d/config" directory.
During the transition I decided to move and rewrite the logic that
adds all of the libraries to load-path. Now this logic is in two top
level files (load-config.el load-local-lisp.el). I needed to remove
the config-programming-languages module because it conflicted with the
new load-path logic (it was mostly useless anyways).
The man advice functions are deleted in this commit but they will be
added into the new ".emacs.d/lisp" directory soon.
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1,7 +1,3 @@ -(add-to-list 'load-path (file-name-concat user-emacs-directory "config")) - -(require 'config) - (setq auth-source-save-behavior nil auto-save-default nil change-major-mode-with-file-name nil @@ -22,6 +18,9 @@ (when (file-exists-p custom-file) (load custom-file)) +(load (file-name-concat user-emacs-directory "load-config")) +(load (file-name-concat user-emacs-directory "load-local-lisp")) + (cua-mode 1) (recentf-mode 1) (savehist-mode 1) |