# HG changeset patch # User Richard M. Stallman # Date 797294798 0 # Node ID 25b2219c415c55d73fc9bf1740c86744fb6d7cd0 # Parent d4547e4b0aab49b7e1291035fdf60623839d300f (Fcall_interactively): `+' is reserved for user changes. diff -r d4547e4b0aab -r 25b2219c415c src/callint.c --- a/src/callint.c Fri Apr 07 22:41:58 1995 +0000 +++ b/src/callint.c Fri Apr 07 22:46:38 1995 +0000 @@ -367,9 +367,12 @@ break; /* Handle special starting chars `*' and `@'. Also `-'. */ + /* Note that `+' is reserved for user extensions. */ while (1) { - if (*string == '*') + if (*string = '+') + error ("`+' is not used in `interactive' for ordinary commands"); + else if (*string == '*') { string++; if (!NILP (current_buffer->read_only)) @@ -614,8 +617,11 @@ visargs[i] = last_minibuf_string; break; + /* We have a case for `+' so we get an error + if anyone tries to define one here. */ + case '+': default: - error ("Invalid control letter \"%c\" (%03o) in interactive calling string", + error ("Invalid control letter `%c' (%03o) in interactive calling string", *tem, *tem); }