1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

* lisp/emacs-lisp/map.el (map--elt-list): Better docstring.

This commit is contained in:
Nicolas Petton 2015-04-25 16:56:19 +02:00
parent 40a8a12a26
commit 5e52b0a076

View 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