Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
1e0b36be
Commit
1e0b36be
authored
Mar 29, 2004
by
Stefan Monnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fcall_interactively): Use Finteractive_form.
parent
c2f562ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
15 deletions
+7
-15
src/callint.c
src/callint.c
+7
-15
No files found.
src/callint.c
View file @
1e0b36be
/* Call a Lisp function interactively.
Copyright (C) 1985, 86, 93, 94, 95, 1997, 2000, 02, 200
3
Copyright (C) 1985, 86, 93, 94, 95, 1997, 2000, 02,
03,
200
4
Free Software Foundation, Inc.
This file is part of GNU Emacs.
...
...
@@ -347,25 +347,17 @@ supply if the command inquires which events were used to invoke it. */)
goto
lose
;
specs
=
XVECTOR
(
fun
)
->
contents
[
COMPILED_INTERACTIVE
];
}
else
if
(
!
CONSP
(
fun
))
goto
lose
;
else
if
(
funcar
=
XCAR
(
fun
),
EQ
(
funcar
,
Qautoload
))
else
{
Lisp_Object
form
;
GCPRO2
(
function
,
prefix_arg
);
do_autoload
(
fun
,
function
);
Finteractive_form
(
function
);
UNGCPRO
;
goto
retry
;
}
else
if
(
EQ
(
funcar
,
Qlambda
))
{
specs
=
Fassq
(
Qinteractive
,
Fcdr
(
XCDR
(
fun
)));
if
(
NILP
(
specs
))
if
(
CONSP
(
form
))
specs
=
filter_specs
=
Fcar
(
XCDR
(
form
));
else
goto
lose
;
filter_specs
=
Fnth
(
make_number
(
1
),
specs
);
specs
=
Fcar
(
Fcdr
(
specs
));
}
else
goto
lose
;
/* If either SPECS or STRING is set to a string, use it. */
if
(
STRINGP
(
specs
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment