From 77d35c4eecc45a12fef7810f57f1cb800bc8826d Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sun, 13 Nov 2022 17:53:53 -0500 Subject: [PATCH] Silence byte-compiler under 'make single' The org-list and org-priority warnings would show up when these changes made their way to the Emacs repo. (The ob-eval warning wouldn't because string-empty-p has been moved to simple.el in Emacs's master branch.) --- lisp/ob-eval.el | 2 ++ lisp/org-list.el | 1 + lisp/org-pcomplete.el | 1 + 3 files changed, 4 insertions(+) diff --git a/lisp/ob-eval.el b/lisp/ob-eval.el index af9283c0a..17e10703a 100644 --- a/lisp/ob-eval.el +++ b/lisp/ob-eval.el @@ -31,6 +31,8 @@ (require 'org-macs) (org-assert-version) +(eval-when-compile (require 'subr-x)) ; For `string-empty-p', Emacs < 29 + (defvar org-babel-error-buffer-name "*Org-Babel Error Output*") (declare-function org-babel-temp-file "ob-core" (prefix &optional suffix)) diff --git a/lisp/org-list.el b/lisp/org-list.el index 7da2187cb..606bdb3d8 100644 --- a/lisp/org-list.el +++ b/lisp/org-list.el @@ -83,6 +83,7 @@ (require 'org-macs) (require 'org-compat) (require 'org-fold-core) +(require 'org-footnote) (defvar org-M-RET-may-split-line) (defvar org-adapt-indentation) diff --git a/lisp/org-pcomplete.el b/lisp/org-pcomplete.el index 383aa9711..5e5e48d3f 100644 --- a/lisp/org-pcomplete.el +++ b/lisp/org-pcomplete.el @@ -50,6 +50,7 @@ (declare-function org-get-tags "org" (&optional pos local)) (declare-function org-link-heading-search-string "ol" (&optional string)) (declare-function org-tag-alist-to-string "org" (alist &optional skip-key)) +(declare-function org-time-stamp-format "org" (&optional with-time inactive custom)) (defvar org-babel-common-header-args-w-values) (defvar org-current-tag-alist)