diff options
| author | Karl Heuer | 1995-03-01 03:44:02 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-03-01 03:44:02 +0000 |
| commit | 8c917bf29eda7cebdd442a95071dc30ba03f383e (patch) | |
| tree | 5546ce0815943380a96afadee9634f85e5e2a7a4 /src | |
| parent | f1cbbff5d28b923708fa7fabf1c983c48727124f (diff) | |
| download | emacs-8c917bf29eda7cebdd442a95071dc30ba03f383e.tar.gz emacs-8c917bf29eda7cebdd442a95071dc30ba03f383e.zip | |
(Fcall_interactively, syms_of_callint, Vprefix_arg, Vcurrent_prefix_arg): Undo
Jan 31 change.
Diffstat (limited to 'src')
| -rw-r--r-- | src/callint.c | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/src/callint.c b/src/callint.c index 1ee61d9e35f..93ecf3b7feb 100644 --- a/src/callint.c +++ b/src/callint.c | |||
| @@ -28,7 +28,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 28 | 28 | ||
| 29 | extern char *index (); | 29 | extern char *index (); |
| 30 | 30 | ||
| 31 | Lisp_Object Qminus, Qplus; | 31 | Lisp_Object Vprefix_arg, Vcurrent_prefix_arg, Qminus, Qplus; |
| 32 | Lisp_Object Qcall_interactively; | 32 | Lisp_Object Qcall_interactively; |
| 33 | Lisp_Object Vcommand_history; | 33 | Lisp_Object Vcommand_history; |
| 34 | 34 | ||
| @@ -202,7 +202,7 @@ Otherwise, this is done only if an arg is read using the minibuffer.") | |||
| 202 | struct gcpro gcpro1, gcpro2, gcpro3, gcpro4; | 202 | struct gcpro gcpro1, gcpro2, gcpro3, gcpro4; |
| 203 | 203 | ||
| 204 | /* Save this now, since use of minibuffer will clobber it. */ | 204 | /* Save this now, since use of minibuffer will clobber it. */ |
| 205 | prefix_arg = current_perdisplay->Vcurrent_prefix_arg; | 205 | prefix_arg = Vcurrent_prefix_arg; |
| 206 | 206 | ||
| 207 | retry: | 207 | retry: |
| 208 | 208 | ||
| @@ -684,6 +684,26 @@ syms_of_callint () | |||
| 684 | Qmouse_leave_buffer_hook = intern ("mouse-leave-buffer-hook"); | 684 | Qmouse_leave_buffer_hook = intern ("mouse-leave-buffer-hook"); |
| 685 | staticpro (&Qmouse_leave_buffer_hook); | 685 | staticpro (&Qmouse_leave_buffer_hook); |
| 686 | 686 | ||
| 687 | DEFVAR_LISP ("prefix-arg", &Vprefix_arg, | ||
| 688 | "The value of the prefix argument for the next editing command.\n\ | ||
| 689 | It may be a number, or the symbol `-' for just a minus sign as arg,\n\ | ||
| 690 | or a list whose car is a number for just one or more C-U's\n\ | ||
| 691 | or nil if no argument has been specified.\n\ | ||
| 692 | \n\ | ||
| 693 | You cannot examine this variable to find the argument for this command\n\ | ||
| 694 | since it has been set to nil by the time you can look.\n\ | ||
| 695 | Instead, you should use the variable `current-prefix-arg', although\n\ | ||
| 696 | normally commands can get this prefix argument with (interactive \"P\")."); | ||
| 697 | Vprefix_arg = Qnil; | ||
| 698 | |||
| 699 | DEFVAR_LISP ("current-prefix-arg", &Vcurrent_prefix_arg, | ||
| 700 | "The value of the prefix argument for this editing command.\n\ | ||
| 701 | It may be a number, or the symbol `-' for just a minus sign as arg,\n\ | ||
| 702 | or a list whose car is a number for just one or more C-U's\n\ | ||
| 703 | or nil if no argument has been specified.\n\ | ||
| 704 | This is what `(interactive \"P\")' returns."); | ||
| 705 | Vcurrent_prefix_arg = Qnil; | ||
| 706 | |||
| 687 | DEFVAR_LISP ("command-history", &Vcommand_history, | 707 | DEFVAR_LISP ("command-history", &Vcommand_history, |
| 688 | "List of recent commands that read arguments from terminal.\n\ | 708 | "List of recent commands that read arguments from terminal.\n\ |
| 689 | Each command is represented as a form to evaluate."); | 709 | Each command is represented as a form to evaluate."); |