mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
lang/emacs-lisp: recreate output popup on eval
If we don't, the popup doesn't resize itself if the contents shrink or grow.
This commit is contained in:
@ -16,6 +16,8 @@ to a pop up buffer."
|
||||
'+word-wrap-mode
|
||||
'visual-line-mode)
|
||||
temp-buffer-show-hook)))
|
||||
(when-let (buffer (get-buffer "*Pp Eval Output*"))
|
||||
(kill-buffer buffer))
|
||||
(pp-eval-expression
|
||||
(read (buffer-substring-no-properties beg end)))))
|
||||
|
||||
|
Reference in New Issue
Block a user