* lisp/emacs-lisp/map.el (map-pairs): Dump redundant lambda
This commit is contained in:
parent
5e52b0a076
commit
c576ab54b5
1 changed files with 1 additions and 3 deletions
|
@ -95,9 +95,7 @@ Map can be a nested map composed of alists, hash-tables and arrays."
|
|||
|
||||
(defun map-pairs (map)
|
||||
"Return the elements of MAP as key/value association lists."
|
||||
(map-apply (lambda (key value)
|
||||
(cons key value))
|
||||
map))
|
||||
(map-apply #'cons map))
|
||||
|
||||
(defun map-length (map)
|
||||
"Return the length of MAP."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue