aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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\
96k -- Key sequence (downcase the last event if needed to get a definition).\n\ 96k -- Key sequence (downcase the last event if needed to get a definition).\n\
97K -- Key sequence to be redefined (do not downcase the last event).\n\ 97K -- Key sequence to be redefined (do not downcase the last event).\n\
98m -- Value of mark as number. Does not do I/O.\n\ 98m -- Value of mark as number. Does not do I/O.\n\
99M -- Any string. Inherits the current input method.\n\
99n -- Number read using minibuffer.\n\ 100n -- Number read using minibuffer.\n\
100N -- Raw prefix arg, or if none, do like code `n'.\n\ 101N -- Raw prefix arg, or if none, do like code `n'.\n\
101p -- Prefix arg converted to number. Does not do I/O.\n\ 102p -- Prefix arg converted to number. Does not do I/O.\n\
102P -- Prefix arg in raw form. Does not do I/O.\n\ 103P -- Prefix arg in raw form. Does not do I/O.\n\
103r -- Region: point and mark as 2 numeric args, smallest first. Does no I/O.\n\ 104r -- Region: point and mark as 2 numeric args, smallest first. Does no I/O.\n\
104s -- Any string.\n\ 105s -- Any string. Does not inherit the current input method.\n\
105S -- Any symbol.\n\ 106S -- Any symbol.\n\
106v -- Variable name: symbol that is user-variable-p.\n\ 107v -- Variable name: symbol that is user-variable-p.\n\
107x -- Lisp expression read but not evaluated.\n\ 108x -- Lisp expression read but not evaluated.\n\
@@ -466,7 +467,7 @@ Otherwise, this is done only if an arg is read using the minibuffer.")
466 case 'a': /* Symbol defined as a function */ 467 case 'a': /* Symbol defined as a function */
467 visargs[i] = Fcompleting_read (build_string (callint_message), 468 visargs[i] = Fcompleting_read (build_string (callint_message),
468 Vobarray, Qfboundp, Qt, 469 Vobarray, Qfboundp, Qt,
469 Qnil, Qnil, Qnil); 470 Qnil, Qnil, Qnil, Qnil);
470 /* Passing args[i] directly stimulates compiler bug */ 471 /* Passing args[i] directly stimulates compiler bug */
471 teml = visargs[i]; 472 teml = visargs[i];
472 args[i] = Fintern (teml, Qnil); 473 args[i] = Fintern (teml, Qnil);
@@ -500,7 +501,7 @@ Otherwise, this is done only if an arg is read using the minibuffer.")
500 case 'C': /* Command: symbol with interactive function */ 501 case 'C': /* Command: symbol with interactive function */
501 visargs[i] = Fcompleting_read (build_string (callint_message), 502 visargs[i] = Fcompleting_read (build_string (callint_message),
502 Vobarray, Qcommandp, 503 Vobarray, Qcommandp,
503 Qt, Qnil, Qnil, Qnil); 504 Qt, Qnil, Qnil, Qnil, Qnil);
504 /* Passing args[i] directly stimulates compiler bug */ 505 /* Passing args[i] directly stimulates compiler bug */
505 teml = visargs[i]; 506 teml = visargs[i];
506 args[i] = Fintern (teml, Qnil); 507 args[i] = Fintern (teml, Qnil);
@@ -580,6 +581,12 @@ Otherwise, this is done only if an arg is read using the minibuffer.")
580 varies[i] = 2; 581 varies[i] = 2;
581 break; 582 break;
582 583
584 case 'M': /* String read via minibuffer with
585 inheriting the current input method. */
586 args[i] = Fread_string (build_string (callint_message),
587 Qnil, Qnil, Qnil, Qt);
588 break;
589
583 case 'N': /* Prefix arg, else number from minibuffer */ 590 case 'N': /* Prefix arg, else number from minibuffer */
584 if (!NILP (prefix_arg)) 591 if (!NILP (prefix_arg))
585 goto have_prefix_arg; 592 goto have_prefix_arg;
@@ -597,7 +604,8 @@ Otherwise, this is done only if an arg is read using the minibuffer.")
597 first = 0; 604 first = 0;
598 605
599 tem = Fread_from_minibuffer (build_string (callint_message), 606 tem = Fread_from_minibuffer (build_string (callint_message),
600 Qnil, Qnil, Qnil, Qnil, Qnil); 607 Qnil, Qnil, Qnil, Qnil, Qnil,
608 Qnil);
601 if (! STRINGP (tem) || XSTRING (tem)->size == 0) 609 if (! STRINGP (tem) || XSTRING (tem)->size == 0)
602 args[i] = Qnil; 610 args[i] = Qnil;
603 else 611 else
@@ -633,14 +641,15 @@ Otherwise, this is done only if an arg is read using the minibuffer.")
633 varies[i] = 4; 641 varies[i] = 4;
634 break; 642 break;
635 643
636 case 's': /* String read via minibuffer. */ 644 case 's': /* String read via minibuffer without
645 inheriting the current input method. */
637 args[i] = Fread_string (build_string (callint_message), 646 args[i] = Fread_string (build_string (callint_message),
638 Qnil, Qnil, Qnil); 647 Qnil, Qnil, Qnil, Qnil);
639 break; 648 break;
640 649
641 case 'S': /* Any symbol. */ 650 case 'S': /* Any symbol. */
642 visargs[i] = Fread_string (build_string (callint_message), 651 visargs[i] = Fread_string (build_string (callint_message),
643 Qnil, Qnil, Qnil); 652 Qnil, Qnil, Qnil, Qnil);
644 /* Passing args[i] directly stimulates compiler bug */ 653 /* Passing args[i] directly stimulates compiler bug */
645 teml = visargs[i]; 654 teml = visargs[i];
646 args[i] = Fintern (teml, Qnil); 655 args[i] = Fintern (teml, Qnil);