summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/txr/stdlib/compiler.tl2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/txr/stdlib/compiler.tl b/share/txr/stdlib/compiler.tl
index d406c6bc..8652948f 100644
--- a/share/txr/stdlib/compiler.tl
+++ b/share/txr/stdlib/compiler.tl
@@ -1470,7 +1470,7 @@
form (match-case form
((append (list . @largs) . @aargs)
^(list* ,*largs (append ,*aargs)))
- ((append @arg) arg)
+ ((@(or append list*) @arg) arg)
(@(require (list* . @(listp @args))
(equal '(nil) (last args)))
^(list ,*(butlastn 1 args)))