]> code.delx.au - gnu-emacs/blobdiff - lisp/emacs-lisp/map.el
* lisp/emacs-lisp/map.el (map-contains-key): Better docstring
[gnu-emacs] / 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."