From: Stefan Kangas Date: Mon, 20 Apr 2020 05:00:06 +0000 (+0200) Subject: Silence byte-compiler after my previous commit X-Git-Tag: emacs-28.0.90~7540 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=18d09058983961f80920b61fe343736082940163;p=emacs.git Silence byte-compiler after my previous commit * lisp/autoarg.el (autoarg-kp-digits): Silence byte-compiler. --- 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'."