[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/org-contrib 37b3825254: lisp/org-annotate-file.el: Fix com
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/org-contrib 37b3825254: lisp/org-annotate-file.el: Fix compiler warnings |
Date: |
Mon, 22 Jan 2024 07:03:16 -0500 (EST) |
branch: elpa/org-contrib
commit 37b38252545f9bd02406690c567109c1a098034d
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
lisp/org-annotate-file.el: Fix compiler warnings
* lisp/org-annotate-file.el (org-annotate-file-annotate): Fix obsolete
function warning.
---
lisp/org-annotate-file.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lisp/org-annotate-file.el b/lisp/org-annotate-file.el
index e4442a71a8..d35088400c 100644
--- a/lisp/org-annotate-file.el
+++ b/lisp/org-annotate-file.el
@@ -132,7 +132,9 @@ The annotation will link to ANNOTATED-BUFFER if specified,
(goto-char (point-min))
(widen)
(when org-annotate-file-always-open
- (org-show-all))
+ (if (fboundp 'org-fold-show-all)
+ (org-fold-show-all)
+ (with-no-warnings (org-show-all))))
(unless (search-forward-regexp
(concat "^* " (regexp-quote link)) nil t)
(org-annotate-file-add-upper-level link))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/org-contrib 37b3825254: lisp/org-annotate-file.el: Fix compiler warnings,
ELPA Syncer <=