From 44c5f3614973d8dc389ddcdc1b3f8ab1c809194d Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sat, 10 Dec 2022 10:48:28 +0100 Subject: [PATCH] ; Fix two byte-compiler warnings * lisp/gnus/gnus-icalendar.el (gnus-icalendar--show-org-event): * test/lisp/progmodes/project-tests.el (project/quoted-directory): Fix warnings. --- lisp/gnus/gnus-icalendar.el | 2 +- test/lisp/progmodes/project-tests.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/gnus/gnus-icalendar.el b/lisp/gnus/gnus-icalendar.el index 1bffdf3513a..f3665c3f1a4 100644 --- a/lisp/gnus/gnus-icalendar.el +++ b/lisp/gnus/gnus-icalendar.el @@ -603,7 +603,7 @@ is searched." (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) diff --git a/test/lisp/progmodes/project-tests.el b/test/lisp/progmodes/project-tests.el index e666e3a6fab..8814f30b047 100644 --- a/test/lisp/progmodes/project-tests.el +++ b/test/lisp/progmodes/project-tests.el @@ -41,7 +41,7 @@ quoted directory names (Bug#47799)." (skip-unless (executable-find "grep")) (ert-with-temp-directory directory (let ((default-directory directory) - (project-current-inhibit-prompt t) + (project-current-directory-override t) (project-find-functions nil) (project-list-file (expand-file-name "projects" directory)) -- 2.39.2