summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIhor Radchenko <yantar92@posteo.net>2024-01-21 12:03:28 +0100
committerIhor Radchenko <yantar92@posteo.net>2024-01-21 12:03:28 +0100
commitae651a505fad5c19a11de142d3c3f72830417efe (patch)
treee90d8a2f9da9aee882abe46341742ef1aad73fb2
parent9b46d534747c3ce88ed851bcd82c6e7c3d4759b0 (diff)
lisp/org-registry.el: Fix all the compiler warnings
* lisp/org-registry.el (org-registry-show): Address obsolete function name.
-rw-r--r--lisp/org-registry.el4
1 files changed, 3 insertions, 1 deletions
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))