mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-25 12:32:52 +00:00
org-persist: Silence recent byte-compiler warning
* lisp/org-persist.el: Bind pp-use-max-width to silence byte-compiler warning about unused lexical variable. Note that loading pp.el upfront rather than relying on the pp function being autoloaded would also eliminate the warning, but that would only work on Emacs 29 or later because earlier versions do not have the pp-use-max-width option.
This commit is contained in:
parent
6ae5430962
commit
e37e9b692e
|
@ -160,6 +160,8 @@
|
|||
(declare-function org-next-visible-heading "org" (arg))
|
||||
(declare-function org-at-heading-p "org" (&optional invisible-not-ok))
|
||||
|
||||
;; Silence byte-compiler (used in `org-persist--write-elisp-file').
|
||||
(defvar pp-use-max-width)
|
||||
|
||||
(defconst org-persist--storage-version "3.1"
|
||||
"Persistent storage layout version.")
|
||||
|
|
Loading…
Reference in a new issue