mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
Fix handling of parameter lists to elisp defun to allow nil.
Thanks to Vasilij Schneidermann.
This commit is contained in:
parent
498564e3e3
commit
01bfd18f3d
2 changed files with 5 additions and 2 deletions
|
@ -259,6 +259,7 @@
|
|||
(define (%match lst null optional rest symbol)
|
||||
(pmatch lst
|
||||
(() (null))
|
||||
(nil (null))
|
||||
((&optional . ,tail) (optional tail))
|
||||
((&rest . ,tail) (rest tail))
|
||||
((,arg . ,tail) (guard (symbol? arg)) (symbol arg tail))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue