diff options
author | John Turner <jturner.usa@gmail.com> | 2023-06-24 21:37:14 -0400 |
---|---|---|
committer | John Turner <jturner.usa@gmail.com> | 2023-06-24 21:37:14 -0400 |
commit | 70fb19b96b30c27e4162d1419737fd57c825fab9 (patch) | |
tree | 7ec2e91f37d271202fd9aa915b77247c932ad184 | |
parent | a8000da62a82ae9f7270397e03ec59d2e0646a3c (diff) | |
download | emacs.d-70fb19b96b30c27e4162d1419737fd57c825fab9.tar.gz |
try to visit symlink for initial-buffer
-rw-r--r-- | early-init.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/early-init.el b/early-init.el index de9661e..683dbd9 100644 --- a/early-init.el +++ b/early-init.el @@ -5,6 +5,13 @@ custom-file (file-name-concat user-emacs-directory "custom.el") custom-theme-directory (file-name-concat user-emacs-directory "themes/") debugger 'edebug + initial-buffer-choice (lambda () + (let ((initial-file (file-name-concat + user-emacs-directory + "initial-buffer"))) + (if (file-exists-p initial-file) + (find-file initial-file) + (get-buffer-create "*scratch*")))) enable-local-variables :safe inferior-lisp-program "sbcl" inhibit-splash-screen t |