Remove core-popup coupling

New popup management system coming soon!
This commit is contained in:
Henrik Lissner 2018-01-03 03:44:32 -05:00
parent e0c8e6daef
commit 8e7b822062
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 11 additions and 14 deletions

View file

@ -30,6 +30,6 @@ to a pop up buffer."
(setq lines (count-lines (point-min) (point-max)))
(goto-char (point-min))
(if (> lines 1)
(doom-popup-buffer buf)
(pop-to-buffer buf t)
(message "%s" (buffer-substring (point-min) (point-max)))
(kill-buffer buf)))))