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:
parent
cba645be00
commit
e31f51e0ba
1 changed files with 2 additions and 0 deletions
|
@ -16,6 +16,8 @@ to a pop up buffer."
|
||||||
'+word-wrap-mode
|
'+word-wrap-mode
|
||||||
'visual-line-mode)
|
'visual-line-mode)
|
||||||
temp-buffer-show-hook)))
|
temp-buffer-show-hook)))
|
||||||
|
(when-let (buffer (get-buffer "*Pp Eval Output*"))
|
||||||
|
(kill-buffer buffer))
|
||||||
(pp-eval-expression
|
(pp-eval-expression
|
||||||
(read (buffer-substring-no-properties beg end)))))
|
(read (buffer-substring-no-properties beg end)))))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue