From c576ab54b50731fbcc263eeb118d45a89e39f87e Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Sat, 25 Apr 2015 17:27:13 +0100 Subject: [PATCH] * lisp/emacs-lisp/map.el (map-pairs): Dump redundant lambda --- lisp/emacs-lisp/map.el | 4 +--- 1 file changed, 1 insertion(+), 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." (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." -- 2.39.5