]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/map.el (map--elt-list): Better docstring.
authorNicolas Petton <nicolas@petton.fr>
Sat, 25 Apr 2015 14:56:19 +0000 (16:56 +0200)
committerNicolas Petton <nicolas@petton.fr>
Sat, 25 Apr 2015 14:56:19 +0000 (16:56 +0200)
lisp/emacs-lisp/map.el

index b64b2bff7681bd28c6a994e357fedcc0476b920d..3efab4048960b1d7aeaf5d6220069b134343c54e 100644 (file)
@@ -254,7 +254,7 @@ form.
               map)))
 
 (defun map--elt-list (map key &optional default)
-  "Return the element of the list MAP at the index KEY.
+  "Lookup, in the list MAP, the value associated with KEY and return it.
 If KEY is not found, return DEFAULT which defaults to nil."
   (let ((pair (assoc key map)))
     (if pair