diff options
| author | Artur Malabarba | 2015-04-25 17:27:13 +0100 |
|---|---|---|
| committer | Artur Malabarba | 2015-04-25 17:27:13 +0100 |
| commit | c576ab54b50731fbcc263eeb118d45a89e39f87e (patch) | |
| tree | fb2e8179fb48abdf833f9692c742551fd0f6de7d | |
| parent | 5e52b0a0767bff530956863afc62784a4b2e5777 (diff) | |
| download | emacs-c576ab54b50731fbcc263eeb118d45a89e39f87e.tar.gz emacs-c576ab54b50731fbcc263eeb118d45a89e39f87e.zip | |
* lisp/emacs-lisp/map.el (map-pairs): Dump redundant lambda
| -rw-r--r-- | lisp/emacs-lisp/map.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/map.el b/lisp/emacs-lisp/map.el index 3efab404896..4b53524d728 100644 --- a/lisp/emacs-lisp/map.el +++ b/lisp/emacs-lisp/map.el | |||
| @@ -95,9 +95,7 @@ Map can be a nested map composed of alists, hash-tables and arrays." | |||
| 95 | 95 | ||
| 96 | (defun map-pairs (map) | 96 | (defun map-pairs (map) |
| 97 | "Return the elements of MAP as key/value association lists." | 97 | "Return the elements of MAP as key/value association lists." |
| 98 | (map-apply (lambda (key value) | 98 | (map-apply #'cons map)) |
| 99 | (cons key value)) | ||
| 100 | map)) | ||
| 101 | 99 | ||
| 102 | (defun map-length (map) | 100 | (defun map-length (map) |
| 103 | "Return the length of MAP." | 101 | "Return the length of MAP." |