From: Stefan Kangas Date: Sat, 10 Dec 2022 09:48:28 +0000 (+0100) Subject: ; Fix two byte-compiler warnings X-Git-Tag: emacs-29.0.90~1259 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=44c5f3614973d8dc389ddcdc1b3f8ab1c809194d;p=emacs.git ; 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. --- 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))