Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e92d107b
Commit
e92d107b
authored
Apr 07, 1995
by
Richard M. Stallman
Browse files
(Fcall_interactively): `+' is reserved for user changes.
parent
833ba342
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
src/callint.c
src/callint.c
+8
-2
No files found.
src/callint.c
View file @
e92d107b
...
@@ -367,9 +367,12 @@ Otherwise, this is done only if an arg is read using the minibuffer.")
...
@@ -367,9 +367,12 @@ Otherwise, this is done only if an arg is read using the minibuffer.")
break
;
break
;
/* Handle special starting chars `*' and `@'. Also `-'. */
/* Handle special starting chars `*' and `@'. Also `-'. */
/* Note that `+' is reserved for user extensions. */
while
(
1
)
while
(
1
)
{
{
if
(
*
string
==
'*'
)
if
(
*
string
=
'+'
)
error
(
"`+' is not used in `interactive' for ordinary commands"
);
else
if
(
*
string
==
'*'
)
{
{
string
++
;
string
++
;
if
(
!
NILP
(
current_buffer
->
read_only
))
if
(
!
NILP
(
current_buffer
->
read_only
))
...
@@ -614,8 +617,11 @@ Otherwise, this is done only if an arg is read using the minibuffer.")
...
@@ -614,8 +617,11 @@ Otherwise, this is done only if an arg is read using the minibuffer.")
visargs
[
i
]
=
last_minibuf_string
;
visargs
[
i
]
=
last_minibuf_string
;
break
;
break
;
/* We have a case for `+' so we get an error
if anyone tries to define one here. */
case
'+'
:
default:
default:
error
(
"Invalid control letter
\"
%c
\"
(%03o) in interactive calling string"
,
error
(
"Invalid control letter
`%c'
(%03o) in interactive calling string"
,
*
tem
,
*
tem
);
*
tem
,
*
tem
);
}
}
...
...
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