emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/org-contrib d1ea50f3bc: lisp/org-checklist.el: Fix compila


From: ELPA Syncer
Subject: [nongnu] elpa/org-contrib d1ea50f3bc: lisp/org-checklist.el: Fix compilation warning
Date: Wed, 24 Jan 2024 07:00:27 -0500 (EST)

branch: elpa/org-contrib
commit d1ea50f3bcfa799e7e8d37d7a896826928bb801f
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    lisp/org-checklist.el: Fix compilation warning
    
    * lisp/org-checklist.el (org-make-checklist-export): Use non-obsolete
    function name when available.
---
 lisp/org-checklist.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/org-checklist.el b/lisp/org-checklist.el
index 9040253504..aeb989bf9d 100644
--- a/lisp/org-checklist.el
+++ b/lisp/org-checklist.el
@@ -109,7 +109,9 @@ of checkbox items"
        (save-excursion
          (org-narrow-to-subtree)
          (org-update-checkbox-count-maybe)
-         (org-show-subtree)
+          (if (fboundp 'org-fold-show-subtree)
+              (org-fold-show-subtree)
+           (with-no-warnings (org-show-subtree)))
          (goto-char (point-min))
          (when (looking-at org-complex-heading-regexp)
            (setq title (match-string 4)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]