emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] map 5e52b0a 2/2: * lisp/emacs-lisp/map.el (map--elt-list):


From: Nicolas Petton
Subject: [Emacs-diffs] map 5e52b0a 2/2: * lisp/emacs-lisp/map.el (map--elt-list): Better docstring.
Date: Sat, 25 Apr 2015 14:56:40 +0000

branch: map
commit 5e52b0a0767bff530956863afc62784a4b2e5777
Author: Nicolas Petton <address@hidden>
Commit: Nicolas Petton <address@hidden>

    * lisp/emacs-lisp/map.el (map--elt-list): Better docstring.
---
 lisp/emacs-lisp/map.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/emacs-lisp/map.el b/lisp/emacs-lisp/map.el
index b64b2bf..3efab40 100644
--- a/lisp/emacs-lisp/map.el
+++ b/lisp/emacs-lisp/map.el
@@ -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



reply via email to

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