Require pp since autoloading may return nil

This commit is contained in:
Gerard Vermeulen 2022-05-28 15:37:36 +02:00
parent 13127a4811
commit 2a122fcdf6

View File

@ -2725,7 +2725,7 @@ non-interactive =org-element= functions to an =Emacs-lisp= buffer.
#+name: lst:grok-org-element-tree
#+begin_src emacs-lisp
(with-eval-after-load 'org-element
(when (autoload 'pp-display-expression "pp")
(when (require 'pp nil 'noerror)
(defconst grok-org-output
"*Grok Org Element Output*"
"Grok Org output buffer name.")