Zap useless (require 'pp) in "lst:grok-org-element-tree"

This commit is contained in:
Gerard Vermeulen 2024-06-13 09:02:05 +02:00
parent 08d2f6bf6d
commit b16448bc83

View File

@ -3814,7 +3814,6 @@ non-interactive =org-element= functions to an =Emacs-lisp= buffer.
#+name: lst:grok-org-element-tree
#+begin_src emacs-lisp -n :results silent
(with-eval-after-load 'org-element
(when (require 'pp nil 'noerror)
(defconst grok-org-output
"*Grok Org Element Output*"
"Grok Org output buffer name.")
@ -3858,7 +3857,7 @@ non-interactive =org-element= functions to an =Emacs-lisp= buffer.
(interactive)
(org-load-modules-maybe)
(pp-display-expression
(org-element-lineage (org-element-context) nil t) grok-org-output))))
(org-element-lineage (org-element-context) nil t) grok-org-output)))
#+end_src
** Grammar, spelling, and style tools