Find user-init-file when given prefix arg
This commit is contained in:
parent
1ac728d6a7
commit
3896e421d0
1 changed files with 6 additions and 4 deletions
|
@ -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."
|
||||
|
|
Loading…
Reference in a new issue