[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/tempel 453dd94492 2/5: Minor cleanup
From: |
ELPA Syncer |
Subject: |
[elpa] externals/tempel 453dd94492 2/5: Minor cleanup |
Date: |
Wed, 4 Dec 2024 18:59:00 -0500 (EST) |
branch: externals/tempel
commit 453dd9449220873578f1d5210aba98a5944d0549
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Minor cleanup
---
tempel.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tempel.el b/tempel.el
index 04e867f7b7..cb79b3be10 100644
--- a/tempel.el
+++ b/tempel.el
@@ -519,8 +519,8 @@ This is meant to be a source in `tempel-template-sources'."
'tempel-template-sources
(lambda (fun)
(cond
- ((functionp fun) (setq result (append result (funcall fun))))
- ((boundp fun) (setq result (append result (symbol-value fun))))
+ ((functionp fun) (cl-callf append result (funcall fun)))
+ ((boundp fun) (cl-callf append result (symbol-value fun)))
(t (error "Template source is not a function or a variable: %S" fun)))
nil))
result))