diff options
| author | Vibhav Pant <vibhavp@gmail.com> | 2017-02-01 18:15:59 +0530 |
|---|---|---|
| committer | Vibhav Pant <vibhavp@gmail.com> | 2017-02-01 18:15:59 +0530 |
| commit | bfa88520136dd6b187ba101e6db5a5f8f0d5e874 (patch) | |
| tree | ba2b964b239612cbb14ff0736e98e8d9cad4e6c2 /lisp/emacs-lisp/bytecomp.el | |
| parent | f441451658ecb8d0d8ba386d9fd3eebf3b17d549 (diff) | |
| download | emacs-bfa88520136dd6b187ba101e6db5a5f8f0d5e874.tar.gz | |
Use maphash instead of cl-loop.
* lisp/emacs-lisp/bytecomp.el: (byte-compile-lapcode) Use maphash
instead of cl-loop
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
| -rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 53622a47d7a..f0a6289e667 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -917,10 +917,10 @@ CONST2 may be evaluated multiple times." (if (> (car bytes-tail) 255) (error "Bytecode overflow"))) (dolist (hash-table byte-compile-jump-tables) - (cl-loop for k being the hash-keys of hash-table do - (let ((tag (cdr (gethash k hash-table)))) - (setq pc (car tag)) - (puthash k (cons (logand pc 255) (lsh pc -8)) hash-table)))) + (maphash #'(lambda (k tag) + (setq pc (car tag)) + (puthash k (cons (logand pc 255) (lsh pc -8)) hash-table)) + hash-table)) (apply 'unibyte-string (nreverse bytes)))) |
