]> code.delx.au - gnu-emacs/commitdiff
* lisp/emacs-lisp/map.el (map-contains-key): Better docstring
authorNicolas Petton <nicolas@petton.fr>
Sat, 18 Jun 2016 08:09:16 +0000 (10:09 +0200)
committerNicolas Petton <nicolas@petton.fr>
Sat, 18 Jun 2016 08:10:00 +0000 (10:10 +0200)
lisp/emacs-lisp/map.el

index 7c4afb91304135056d6f4c38235e66a862e1b010..735ab8f1759293c36f082798b246c6205d1692b3 100644 (file)
@@ -260,7 +260,7 @@ MAP can be a list, hash-table or array."
     :hash-table (zerop (hash-table-count map))))
 
 (defun map-contains-key (map key &optional testfn)
-  "Return non-nil if MAP contain KEY, nil otherwise.
+  "If MAP contain KEY return KEY, nil otherwise.
 Equality is defined by TESTFN if non-nil or by `equal' if nil.
 
 MAP can be a list, hash-table or array."