1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-02 20:00:35 -08:00

allow + in lisp functions to be compiled

This commit is contained in:
Andrea Corallo 2019-06-10 10:33:25 +02:00 committed by Andrea Corallo
parent a580344193
commit f867699b23

View file

@ -1540,7 +1540,8 @@ DEFUN ("native-compile", Fnative_compile, Snative_compile,
char *c = c_f_name;
while (*c)
{
if (*c == '-')
if (*c == '-' ||
*c == '+')
*c = '_';
++c;
}