From ae651a505fad5c19a11de142d3c3f72830417efe Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Sun, 21 Jan 2024 12:03:28 +0100 Subject: 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 7f8688d..fdae6cc 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)) -- cgit v1.2.3-70-g09d2