Remove unnecessary pop-to-buffer arg
This commit is contained in:
parent
f01218b57f
commit
25ee609c5e
2
init.el
2
init.el
@ -1376,7 +1376,7 @@ DOCSTRING is an optional form that is discarded upon expansion."
|
|||||||
(defun restclient ()
|
(defun restclient ()
|
||||||
"Open the restclient buffer, (re)creating it if not present."
|
"Open the restclient buffer, (re)creating it if not present."
|
||||||
(interactive)
|
(interactive)
|
||||||
(pop-to-buffer (get-buffer-create "*restclient*") '((display-buffer-reuse-window display-buffer-same-window)))
|
(pop-to-buffer (get-buffer-create "*restclient*"))
|
||||||
(unless (derived-mode-p 'restclient-mode)
|
(unless (derived-mode-p 'restclient-mode)
|
||||||
(restclient-mode)))
|
(restclient-mode)))
|
||||||
:commands
|
:commands
|
||||||
|
Loading…
Reference in New Issue
Block a user