emacs.d

bloated emacs configuration
git clone git://git.ckyln.com/~cem/emacs.d.git
Log | Files | Refs | README

commit ab570ae1b13a857d87a5a0572717e277e33bb627
parent 3275dcb5eda87fe6e88564e973901e342d3edef7
Author: Cem Keylan <cem@ckyln.com>
Date:   Tue,  3 Mar 2020 01:25:35 +0300

Add optional private file

Diffstat:
Minit.org | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/init.org b/init.org @@ -105,6 +105,17 @@ my cache folder. Let's load the custom-file (load custom-file) + +** Private file +Let's load a private file if it exists +#+BEGIN_SRC emacs-lisp +(add-hook + 'after-init-hook + (lambda () + (let ((private-file (concat user-emacs-directory "private.el"))) + (when (file-exists-p private-file) + (load-file private-file))))) +#+END_SRC * Packages Now we can continue by loading our packages, those are listed according