From 18d09058983961f80920b61fe343736082940163 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Mon, 20 Apr 2020 07:00:06 +0200 Subject: [PATCH] Silence byte-compiler after my previous commit * lisp/autoarg.el (autoarg-kp-digits): Silence byte-compiler. --- lisp/autoarg.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lisp/autoarg.el b/lisp/autoarg.el index eba7a187faf..d41527775f4 100644 --- a/lisp/autoarg.el +++ b/lisp/autoarg.el @@ -59,9 +59,8 @@ ;; (define-key autoarg-mode-map [?\r] 'autoarg-terminate) (defvar autoarg-kp-digits - (let (alist) - (dotimes (i 10 alist) - (push (cons (intern (format "kp-%d" i)) i) alist)))) + (mapcar (lambda (i) (cons (intern (format "kp-%d" i)) i)) + (reverse (number-sequence 0 9)))) (defun autoarg-kp-digit-argument (arg) "Part of the numeric argument for the next command, like `digit-argument'." -- 2.39.2