From 4675dcae182eafb947fbc77eee34bf87616879b3 Mon Sep 17 00:00:00 2001 From: Sylvain Bougerel Date: Sun, 18 Feb 2024 21:59:14 +0800 Subject: [PATCH] ci(test): calls to generate-new-buffer changed Call generate-new-buffer with a single argument. 2 arguments are only supported for versions 28 and above. Signed-off-by: Sylvain Bougerel --- logseq-org-roam-test.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/logseq-org-roam-test.el b/logseq-org-roam-test.el index 9aafcdf..90c88c8 100644 --- a/logseq-org-roam-test.el +++ b/logseq-org-roam-test.el @@ -722,16 +722,16 @@ A [[test links]] matching headline. (f &optional n r w) ((:input '("a" nil nil nil) ; no modifications :output-generator (lambda (f &optional n r w) - (generate-new-buffer "*test*" t))) + (generate-new-buffer "*test*"))) (:input '("h" nil nil nil) ; with modifications! :output-generator (lambda (f &optional n r w) - (let ((buf (generate-new-buffer "*test*" t))) + (let ((buf (generate-new-buffer "*test*"))) (with-current-buffer buf (set-buffer-modified-p t)) buf))) (:input '("i" nil nil nil) ; no modifications :output-generator (lambda (f &optional n r w) - (generate-new-buffer "*test*" t))))) + (generate-new-buffer "*test*"))))) (save-buffer (&optional b) ((:occur 1 @@ -797,10 +797,10 @@ A [[test links]] matching headline. (f &optional n r w) ((:input '("a" nil nil nil) ; no modifications :output-generator (lambda (f &optional n r w) - (generate-new-buffer "*test*" t))) + (generate-new-buffer "*test*"))) (:input '("h" nil nil nil) ; with modifications! :output-generator (lambda (f &optional n r w) - (let ((buf (generate-new-buffer "*test*" t))) + (let ((buf (generate-new-buffer "*test*"))) (with-current-buffer buf (set-buffer-modified-p t)) buf))))) @@ -899,7 +899,7 @@ A [[test links]] matching headline. (f &optional n r w) ((:input-matcher #'always :output-generator (lambda (f &optional n r w) - (generate-new-buffer "*test*" t))))) + (generate-new-buffer "*test*"))))) (org-id-get-create (&optional f) ((:input-matcher #'always