branch: elpa/evil-numbers commit 9bebb3a2c8e1fed3dd597ffd4767c82ac427bcba Author: Campbell Barton <ideasma...@gmail.com> Commit: Campbell Barton <ideasma...@gmail.com>
Cleanup: remove redundant `format` and quoted lambda Both give warnings with melpazoid. --- evil-numbers.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/evil-numbers.el b/evil-numbers.el index ee4aa86965..8e609197a6 100644 --- a/evil-numbers.el +++ b/evil-numbers.el @@ -372,7 +372,7 @@ Each item in MATCH-CHARS is a cons pair. ((eq ch-num '\?) (evil-numbers--skip-chars-impl ch-skip ch-sep-optional dir 1 limit)) (t - (error (format "Unknown type %S (internal error)" ch-skip)))) + (error "Unknown type %S (internal error)" ch-skip))) ;; End of the match. (when do-match @@ -631,7 +631,7 @@ Return non-nil on success, leaving the point at the end of the number." (min end (point-at-eol)) padded range-check-fn - #'(lambda (n) (+ n amount))) + (lambda (n) (+ n amount))) (setq found t))) ;; Search failed, exit the loop.