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

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

[nongnu] elpa/org-contrib ae651a505f: lisp/org-registry.el: Fix all the


From: ELPA Syncer
Subject: [nongnu] elpa/org-contrib ae651a505f: lisp/org-registry.el: Fix all the compiler warnings
Date: Sun, 21 Jan 2024 07:00:20 -0500 (EST)

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

    lisp/org-registry.el: Fix all the compiler warnings
    
    * lisp/org-registry.el (org-registry-show): Address obsolete function
    name.
---
 lisp/org-registry.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/org-registry.el b/lisp/org-registry.el
index 7f8688d454..fdae6cc8fe 100644
--- a/lisp/org-registry.el
+++ b/lisp/org-registry.el
@@ -120,7 +120,9 @@ buffer."
           (funcall org-registry-find-file file)
           (goto-char point)
           (unless (org-before-first-heading-p)
-            (org-show-context)))
+             (if (fboundp 'org-fold-show-context)
+                (org-fold-show-context)
+              (with-no-warnings (org-show-context)))))
          ((and files (not visit))
           ;; result(s) to display
           (cond  ((eq 1 (length files))



reply via email to

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