branch: elpa/buttercup commit b6e11fa34f813ad81e81bf9b461df65aebdbbe96 Author: Ryan C. Thompson <r...@thompsonclan.org> Commit: Ryan C. Thompson <r...@thompsonclan.org>
Use format instead of concat for constructing warning message --- buttercup.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/buttercup.el b/buttercup.el index e05dad32f0..f4b750617d 100644 --- a/buttercup.el +++ b/buttercup.el @@ -964,9 +964,9 @@ mainly calls to `describe', `it' and `before-each'." when (special-variable-p var) do (display-warning 'buttercup-describe - (concat "Possible erroneous use of special variable `" - (symbol-name var) - "' in :var(*) form"))) + (format + "Possible erroneous use of special variable `%s' in :var(*) form" + var))) ;; Wrap new body in the appropriate let form (setq body `((,let-form-to-use