Revert "improves find-user-init-file"

This reverts commit c8b3e46ef8.

This change had negative side effects and
was therefore reverted. Please see #13933
for details.
This commit is contained in:
Maximilian Wolff 2020-09-14 20:07:05 +02:00
parent 1147e758bd
commit 0284f80375
No known key found for this signature in database
GPG Key ID: 2DD07025BFDBD89A
1 changed files with 3 additions and 2 deletions

View File

@ -729,11 +729,12 @@ variable."
;; adapted from bozhidar
;; http://emacsredux.com/blog/2013/05/18/instant-access-to-init-dot-el/
(defun spacemacs/find-user-init-file ()
"Edit the `user-init-file', in the current window."
(interactive)
(find-file-existing
(expand-file-name "init.el" user-emacs-directory)))
(find-file-existing user-init-file))
(defun spacemacs/find-dotfile ()
"Edit the `dotfile', in the current window."