branch: externals/shell-quasiquote
commit cc170c2f48c9e286e38a8afc14007ccdc46955ed
Author: Stefan Monnier <monn...@iro.umontreal.ca>
Commit: Stefan Monnier <monn...@iro.umontreal.ca>

    shell-quasiquote.el (shqq): Don't rely on `,@FOO` as a QPAT
    
    Pcase does not allow them any more.
---
 shell-quasiquote.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shell-quasiquote.el b/shell-quasiquote.el
index b8e9008db8..bd8c4182b3 100644
--- a/shell-quasiquote.el
+++ b/shell-quasiquote.el
@@ -110,7 +110,7 @@ separating spaces."
                   ;; ,foo
                   (`(,`\, ,form) `(shqq--quote-atom ,form))
                   ;; ,@foo
-                  (`,@,form `(mapconcat #'shqq--quote-atom ,form " "))
+                  (`(,`\,@ ,form) `(mapconcat #'shqq--quote-atom ,form " "))
                   (_
                    (error "Bad shqq part: %S" part))))))
           parts)))

Reply via email to