unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Another lisp question
@ 2010-04-15 16:13 Klaus Jantzen
  2010-04-15 16:51 ` Drew Adams
  0 siblings, 1 reply; 6+ messages in thread
From: Klaus Jantzen @ 2010-04-15 16:13 UTC (permalink / raw)
  To: emacs-list

Hi,

in an interactive function I have

(interactive  "sEnter number: ")

When hitting <Enter> without entering anything, emacs comes back to the 
input request.
How can I find out, that nothing has been entered so that I can use e.g. 
a default value?

Thanks for a pointer.

-- 

K.D.J.





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

end of thread, other threads:[~2010-04-16 17:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-15 16:13 Another lisp question Klaus Jantzen
2010-04-15 16:51 ` Drew Adams
2010-04-16  9:40   ` Klaus Jantzen
2010-04-16 13:54     ` Drew Adams
2010-04-16 16:31       ` Klaus Jantzen
2010-04-16 17:58         ` Suvayu Ali

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).