From: Arash Esbati <arash@gnu.org>
To: 59879@debbugs.gnu.org
Subject: bug#59879: 30.0.50; [PATCH] Silencing the compiler about obsolete `org-show-entry'
Date: Wed, 07 Dec 2022 11:29:03 +0100 [thread overview]
Message-ID: <861qpbo6c0.fsf@gnu.org> (raw)
Hi all,
compiling from master (82849f9a20) shows the following warning:
In gnus-icalendar--show-org-event:
gnus/gnus-icalendar.el:606:8: Warning: `org-show-entry' is an obsolete
function (as of 9.6); use `org-fold-show-entry' instead.
The following change fixes the issue:
--8<---------------cut here---------------start------------->8---
diff --git a/lisp/gnus/gnus-icalendar.el b/lisp/gnus/gnus-icalendar.el
index 1bffdf3513..f3665c3f1a 100644
--- a/lisp/gnus/gnus-icalendar.el
+++ b/lisp/gnus/gnus-icalendar.el
@@ -603,7 +603,7 @@ gnus-icalendar--show-org-event
(when file
(switch-to-buffer (find-file file))
(goto-char (org-find-entry-with-id (gnus-icalendar-event:uid event)))
- (org-show-entry))))
+ (org-fold-show-entry))))
(defun gnus-icalendar--update-org-event (event reply-status &optional org-file)
--8<---------------cut here---------------end--------------->8---
The change applies also to emacs-29 branch in case it should be fixed
there.
Best, Arash
reply other threads:[~2022-12-07 10:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=861qpbo6c0.fsf@gnu.org \
--to=arash@gnu.org \
--cc=59879@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).