emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ellama 8ebd5ee12d 2/4: Use the pre-emacs-30 calling con


From: ELPA Syncer
Subject: [elpa] externals/ellama 8ebd5ee12d 2/4: Use the pre-emacs-30 calling convention for `derived-mode-p`
Date: Wed, 27 Dec 2023 09:57:49 -0500 (EST)

branch: externals/ellama
commit 8ebd5ee12d0a19d8c35ccb76e29db0b83b1df112
Author: Steven Allen <steven@stebalien.com>
Commit: Steven Allen <steven@stebalien.com>

    Use the pre-emacs-30 calling convention for `derived-mode-p`
---
 ellama.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ellama.el b/ellama.el
index 524054722d..f33476bb65 100644
--- a/ellama.el
+++ b/ellama.el
@@ -239,7 +239,7 @@ when the request completes (with BUFFER current)."
                     (when (pcase ellama-fill-paragraphs
                             ((cl-type function) (funcall 
ellama-fill-paragraphs))
                             ((cl-type boolean) ellama-fill-paragraphs)
-                            ((cl-type list) (derived-mode-p 
ellama-fill-paragraphs)))
+                            ((cl-type list) (apply #'derived-mode-p 
ellama-fill-paragraphs)))
                       (fill-region start (point)))
                    (goto-char pt))
                  (when-let ((ellama-auto-scroll)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]