]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix two byte-compiler warnings
authorStefan Kangas <stefankangas@gmail.com>
Sat, 10 Dec 2022 09:48:28 +0000 (10:48 +0100)
committerStefan Kangas <stefankangas@gmail.com>
Sat, 10 Dec 2022 09:48:28 +0000 (10:48 +0100)
* 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
test/lisp/progmodes/project-tests.el

index 1bffdf3513a03d50ff3f801b0792ff252aab7c46..f3665c3f1a417816f2dfcdeb247bf9270f6a3772 100644 (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)
index e666e3a6fabc824b09fc150ea4721cd49718f04a..8814f30b047e34e935cf9d35113203b824d5e07c 100644 (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))