improves find-user-init-file

<SPC f e i> should work with Emacs profile switcher plexus/chemacs
This commit is contained in:
Ag Ibragimov 2020-09-03 20:31:24 -07:00 committed by Maximilian Wolff
parent 050a6d1973
commit c8b3e46ef8
1 changed files with 2 additions and 3 deletions

View File

@ -729,12 +729,11 @@ 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 user-init-file))
(find-file-existing
(expand-file-name "init.el" user-emacs-directory)))
(defun spacemacs/find-dotfile ()
"Edit the `dotfile', in the current window."