unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* completing-read
@ 2014-05-28 17:44 drain
  2014-05-28 18:16 ` completing-read Drew Adams
  2014-05-29  1:54 ` completing-read lee
  0 siblings, 2 replies; 5+ messages in thread
From: drain @ 2014-05-28 17:44 UTC (permalink / raw)
  To: Help-gnu-emacs

I'm curious what the numbers passed to the completing-read function are
used for. Here is the example I found online:

(completing-read
 "Complete a foo: "
 '(("foobar1" 1) ("barfoo" 2) ("foobaz" 3) ("foobar2" 4))
 nil t "fo")

This function appears to work fine without the 1, 2, 3, 4.



--
View this message in context: http://emacs.1067599.n5.nabble.com/completing-read-tp323117.html
Sent from the Emacs - Help mailing list archive at Nabble.com.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-05-30  5:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-28 17:44 completing-read drain
2014-05-28 18:16 ` completing-read Drew Adams
2014-05-29  1:54 ` completing-read lee
2014-05-29  2:17   ` completing-read Drew Adams
2014-05-30  5:12     ` completing-read drain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).