Remove/replace references to doom-popup-buffer

This commit is contained in:
Henrik Lissner 2018-01-06 03:27:23 -05:00
parent 4fdf4a58b4
commit b681917082
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
10 changed files with 14 additions and 24 deletions

View file

@ -28,7 +28,7 @@
(let ((buf (get-buffer-create +eshell-buffer-name)))
(with-current-buffer buf
(unless (eq major-mode 'eshell-mode) (eshell-mode)))
(doom-popup-buffer buf '(:autokill t) t)
(pop-to-buffer buf)
(when command
(+eshell-run-command command))))

View file

@ -12,5 +12,5 @@
(defun +gist*list-render (orig-fn &rest args)
(funcall orig-fn (car args) t)
(unless (cadr args)
(doom-popup-buffer (current-buffer))))
(pop-to-buffer (current-buffer))))
(advice-add #'gist-list-render :around #'+gist*list-render))

View file

@ -16,7 +16,7 @@ current project's root."
(require 'multi-term)
(let ((default-directory (if project-root (doom-project-root) default-directory))
(buffer (multi-term-get-buffer current-prefix-arg)))
(select-window (doom-popup-buffer buffer))
(pop-to-buffer buffer)
(setq multi-term-buffer-list (nconc multi-term-buffer-list (list buffer)))
(multi-term-internal)))