From: Nicolas Petton Date: Sat, 18 Jun 2016 08:09:16 +0000 (+0200) Subject: * lisp/emacs-lisp/map.el (map-contains-key): Better docstring X-Git-Tag: emacs-26.0.90~1840^2~215 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=87c9d8fcec183c8f4933e218c1895b6a0722b1e1;p=emacs.git * lisp/emacs-lisp/map.el (map-contains-key): Better docstring --- diff --git a/lisp/emacs-lisp/map.el b/lisp/emacs-lisp/map.el index 7c4afb91304..735ab8f1759 100644 --- a/lisp/emacs-lisp/map.el +++ b/lisp/emacs-lisp/map.el @@ -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."