[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to prompt for string?
From: |
Pascal Bourguignon |
Subject: |
Re: How to prompt for string? |
Date: |
Fri, 17 Feb 2006 06:50:13 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
jacksneckhurts@yahoo.com writes:
> I'm trying to teach myself emacs Lisp, but can't figure out how to
> prompt for a string. I found the "read-key-sequence-vector" function,
> but that only takes in one character. Does anyone know how to prompt
> for a string? Thanks.
I don't know. Or do you think I'm a super genius?
Let's see:
M-x apropos RET read RET
C-v
C-s read-string RET C-s C-s C-s
Yep, seems like this could be useful:
read-string
Function: Read a string from the minibuffer, prompting with string PROMPT.
C-h f read-string RET
Yep, sounds promizing.
--
__Pascal Bourguignon__ http://www.informatimago.com/
"You cannot really appreciate Dilbert unless you read it in the
original Klingon"