; 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.
This commit is contained in:
Stefan Kangas 2022-12-10 10:48:28 +01:00
parent a8ee046fb5
commit 44c5f36149
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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))