1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-23 22:20:24 -08:00

* lisp/emacs-lisp/map.el (map-contains-key): Better docstring

This commit is contained in:
Nicolas Petton 2016-06-18 10:09:16 +02:00
parent ead28454b8
commit 87c9d8fcec

View 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."