diff options
-rw-r--r-- | emacs/.emacs.d/init.el | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 924100a6..ef66d647 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -1425,10 +1425,7 @@ ;; #+BEGIN_SRC emacs-lisp (defvar *init-file* - (let ((init-file (or user-init-file - (expand-file-name "init.el" user-emacs-directory)))) - (expand-file-name "init.el" - (file-name-directory (file-truename init-file)))) + (file-truename user-init-file) "Where the emacs init file really is, passing through symlinks.") (set-register ?e `(file . ,*init-file*)) |