[Top][All Lists]

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

[Emacs-diffs] master 87c9d8f 4/4: * lisp/emacs-lisp/map.el (map-contains

From: Nicolas Petton
Subject: [Emacs-diffs] master 87c9d8f 4/4: * lisp/emacs-lisp/map.el (map-contains-key): Better docstring
Date: Sat, 18 Jun 2016 08:10:06 +0000 (UTC)

branch: master
commit 87c9d8fcec183c8f4933e218c1895b6a0722b1e1
Author: Nicolas Petton <address@hidden>
Commit: Nicolas Petton <address@hidden>

    * lisp/emacs-lisp/map.el (map-contains-key): Better docstring
 lisp/emacs-lisp/map.el |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/map.el b/lisp/emacs-lisp/map.el
index 7c4afb9..735ab8f 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."

reply via email to

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