mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
lang/emacs-lisp: resize eval popup to fit contents
This commit is contained in:
@ -16,10 +16,9 @@ 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)))))
|
||||
(read (buffer-substring-no-properties beg end)))
|
||||
(fit-window-to-buffer (get-buffer-window "*Pp Eval Output*"))))
|
||||
|
||||
(defvar +emacs-lisp--face nil)
|
||||
;;;###autoload
|
||||
|
Reference in New Issue
Block a user