Minor refactor & correction

This commit is contained in:
Henrik Lissner 2018-01-29 17:39:08 -05:00
parent 0890826083
commit 4e908bd525
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 2 additions and 4 deletions

View file

@ -30,8 +30,7 @@ PROMPT (a string) and COMMAND (a list of command plists; see `def-menu!').")
(setq header-line-format
(concat (propertize "$ " 'face 'font-lock-doc-face)
(propertize command 'face 'font-lock-preprocessor-face)))
(doom-resize-window (get-buffer-window (pop-to-buffer (current-buffer)))
12)))
(pop-to-buffer (current-buffer))))
((or (symbolp command)
(functionp command))
(call-interactively command))