summaryrefslogtreecommitdiff
path: root/src/callint.c
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>1997-08-26 11:42:33 +0000
committerKenichi Handa <handa@m17n.org>1997-08-26 11:42:33 +0000
commit93fb51ae2e0c5eb0295462d4da5859e7ddcc3114 (patch)
tree10901c96108bbc3cf318e15cf86b7e790a11f8e9 /src/callint.c
parent5593f7e37bb18a99ab6f4197d95140fc4bd47784 (diff)
downloademacs-93fb51ae2e0c5eb0295462d4da5859e7ddcc3114.tar.gz
(Finteractive): Document the code letter `M'.
(Fcall_interactively): Call Fcompleting_read, Fread_from_minibuffer, and Fread_string with a proper value for the arg INHERIT-INPUT-METHOD. Handle the code letter `M'.
Diffstat (limited to 'src/callint.c')
-rw-r--r--src/callint.c23
1 files changed, 16 insertions, 7 deletions
diff --git a/src/callint.c b/src/callint.c
index 7a579fcb20e..7907644db9d 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -96,12 +96,13 @@ i -- Ignored, i.e. always nil. Does not do I/O.\n\
k -- Key sequence (downcase the last event if needed to get a definition).\n\
K -- Key sequence to be redefined (do not downcase the last event).\n\
m -- Value of mark as number. Does not do I/O.\n\
+M -- Any string. Inherits the current input method.\n\
n -- Number read using minibuffer.\n\
N -- Raw prefix arg, or if none, do like code `n'.\n\
p -- Prefix arg converted to number. Does not do I/O.\n\
P -- Prefix arg in raw form. Does not do I/O.\n\
r -- Region: point and mark as 2 numeric args, smallest first. Does no I/O.\n\
-s -- Any string.\n\
+s -- Any string. Does not inherit the current input method.\n\
S -- Any symbol.\n\
v -- Variable name: symbol that is user-variable-p.\n\
x -- Lisp expression read but not evaluated.\n\
@@ -466,7 +467,7 @@ Otherwise, this is done only if an arg is read using the minibuffer.")
case 'a': /* Symbol defined as a function */
visargs[i] = Fcompleting_read (build_string (callint_message),
Vobarray, Qfboundp, Qt,
- Qnil, Qnil, Qnil);
+ Qnil, Qnil, Qnil, Qnil);
/* Passing args[i] directly stimulates compiler bug */
teml = visargs[i];
args[i] = Fintern (teml, Qnil);
@@ -500,7 +501,7 @@ Otherwise, this is done only if an arg is read using the minibuffer.")
case 'C': /* Command: symbol with interactive function */
visargs[i] = Fcompleting_read (build_string (callint_message),
Vobarray, Qcommandp,
- Qt, Qnil, Qnil, Qnil);
+ Qt, Qnil, Qnil, Qnil, Qnil);
/* Passing args[i] directly stimulates compiler bug */
teml = visargs[i];
args[i] = Fintern (teml, Qnil);
@@ -580,6 +581,12 @@ Otherwise, this is done only if an arg is read using the minibuffer.")
varies[i] = 2;
break;
+ case 'M': /* String read via minibuffer with
+ inheriting the current input method. */
+ args[i] = Fread_string (build_string (callint_message),
+ Qnil, Qnil, Qnil, Qt);
+ break;
+
case 'N': /* Prefix arg, else number from minibuffer */
if (!NILP (prefix_arg))
goto have_prefix_arg;
@@ -597,7 +604,8 @@ Otherwise, this is done only if an arg is read using the minibuffer.")
first = 0;
tem = Fread_from_minibuffer (build_string (callint_message),
- Qnil, Qnil, Qnil, Qnil, Qnil);
+ Qnil, Qnil, Qnil, Qnil, Qnil,
+ Qnil);
if (! STRINGP (tem) || XSTRING (tem)->size == 0)
args[i] = Qnil;
else
@@ -633,14 +641,15 @@ Otherwise, this is done only if an arg is read using the minibuffer.")
varies[i] = 4;
break;
- case 's': /* String read via minibuffer. */
+ case 's': /* String read via minibuffer without
+ inheriting the current input method. */
args[i] = Fread_string (build_string (callint_message),
- Qnil, Qnil, Qnil);
+ Qnil, Qnil, Qnil, Qnil);
break;
case 'S': /* Any symbol. */
visargs[i] = Fread_string (build_string (callint_message),
- Qnil, Qnil, Qnil);
+ Qnil, Qnil, Qnil, Qnil);
/* Passing args[i] directly stimulates compiler bug */
teml = visargs[i];
args[i] = Fintern (teml, Qnil);