lang/emacs-lisp: delay mode hooks in eval output buffer

This commit is contained in:
Henrik Lissner 2018-03-02 22:32:15 -05:00
parent 9b0a2d222e
commit c421f3de64
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -24,7 +24,7 @@ to a pop up buffer."
(read-only-mode +1)
(erase-buffer)
(setq-local scroll-margin 0)
(emacs-lisp-mode)
(delay-mode-hooks (emacs-lisp-mode))
(prin1 result buf)
(pp-buffer)
(setq lines (count-lines (point-min) (point-max)))