diff --git a/core/prelude-core.el b/core/prelude-core.el index 568e6f8..c96a8b5 100644 --- a/core/prelude-core.el +++ b/core/prelude-core.el @@ -550,10 +550,12 @@ This follows freedesktop standards, should work in X servers." '(2 "_NET_WM_STATE_FULLSCREEN" 0)) (error "Only X server is supported"))) -(defun prelude-find-user-init-file () - "Edit the `prelude-user-init-file', in another window." - (interactive) - (find-file-other-window prelude-user-init-file)) +(defun prelude-find-user-init-file (arg) + "Edit the `prelude-user-init-file', in another window. +With a prefix argument ARG, find the `user-init-file' instead." + (interactive "P") + (if arg (find-file-other-window user-init-file) + (find-file-other-window prelude-user-init-file))) (defun prelude-find-shell-init-file () "Edit the shell init file in another window."