1

Remove unnecessary pop-to-buffer arg

This commit is contained in:
Jessie Hildebrandt 2023-03-16 11:39:48 -04:00
parent f01218b57f
commit 25ee609c5e

View File

@ -1376,7 +1376,7 @@ DOCSTRING is an optional form that is discarded upon expansion."
(defun restclient ()
"Open the restclient buffer, (re)creating it if not present."
(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)
(restclient-mode)))
:commands