]> git.eshelyaron.com Git - emacs.git/commitdiff
allow + in lisp functions to be compiled
authorAndrea Corallo <andrea_corallo@yahoo.it>
Mon, 10 Jun 2019 08:33:25 +0000 (10:33 +0200)
committerAndrea Corallo <akrl@sdf.org>
Wed, 1 Jan 2020 10:33:40 +0000 (11:33 +0100)
src/comp.c

index 7de222b5b2bc4a0364f597b6b6324cea94db77b4..ede417c794f7c11a2906978776f33ec142526051 100644 (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;
     }