aboutsummaryrefslogtreecommitdiffstats
path: root/src/comp.c
diff options
context:
space:
mode:
authorAndrea Corallo2019-06-10 10:33:25 +0200
committerAndrea Corallo2020-01-01 11:33:40 +0100
commitf867699b23ad012ad71f08f88ecf3e0e8df045da (patch)
tree64b18ccd38280d9be335f8efef0ae51e09ba6549 /src/comp.c
parenta5803441934b5a128f02169c37e4e00b25b4fc10 (diff)
downloademacs-f867699b23ad012ad71f08f88ecf3e0e8df045da.tar.gz
emacs-f867699b23ad012ad71f08f88ecf3e0e8df045da.zip
allow + in lisp functions to be compiled
Diffstat (limited to 'src/comp.c')
-rw-r--r--src/comp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/comp.c b/src/comp.c
index 7de222b5b2b..ede417c794f 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -1540,7 +1540,8 @@ DEFUN ("native-compile", Fnative_compile, Snative_compile,
1540 char *c = c_f_name; 1540 char *c = c_f_name;
1541 while (*c) 1541 while (*c)
1542 { 1542 {
1543 if (*c == '-') 1543 if (*c == '-' ||
1544 *c == '+')
1544 *c = '_'; 1545 *c = '_';
1545 ++c; 1546 ++c;
1546 } 1547 }