emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 7d5c120: * lisp/emacs-lisp/map.el (map-into): Fix a


From: Nicolas Petton
Subject: [Emacs-diffs] master 7d5c120: * lisp/emacs-lisp/map.el (map-into): Fix a byte-compiler warning.
Date: Tue, 16 Jun 2015 21:48:08 +0000

branch: master
commit 7d5c120fedd86b911bb9ffe423920e701f63a7c3
Author: Nicolas Petton <address@hidden>
Commit: Nicolas Petton <address@hidden>

    * lisp/emacs-lisp/map.el (map-into): Fix a byte-compiler warning.
---
 lisp/emacs-lisp/map.el |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/emacs-lisp/map.el b/lisp/emacs-lisp/map.el
index dd7fb91..f5a9fd9 100644
--- a/lisp/emacs-lisp/map.el
+++ b/lisp/emacs-lisp/map.el
@@ -218,7 +218,7 @@ MAP can be a list, hash-table or array."
              map))
 
 (defun map-filter (pred map)
-  "Return an alist of the key/val pairs for which (PRED key val) is non-nil in 
MAP.
+  "Return an alist of key/val pairs for which (PRED key val) is non-nil in MAP.
 
 MAP can be a list, hash-table or array."
   (delq nil (map-apply (lambda (key val)
@@ -297,7 +297,7 @@ MAP can be a list, hash-table or array."
   (pcase type
     (`list (map-pairs map))
     (`hash-table (map--into-hash-table map))
-    (t (error "Not a map type name: %S" type))))
+    (_ (error "Not a map type name: %S" type))))
 
 (defun map--apply-alist (function map)
   "Private function used to apply FUNCTION over MAP, MAP being an alist."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]