mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-16 22:43:04 +00:00
fix: order of edebug subforms in &or matters
This commit is contained in:
parent
0adcad2190
commit
55eaf62fd3
@ -308,10 +308,10 @@ can be:
|
|||||||
(declare (debug (&define name sexp &rest &or
|
(declare (debug (&define name sexp &rest &or
|
||||||
;; curiously, function-form doesn't work here
|
;; curiously, function-form doesn't work here
|
||||||
;;
|
;;
|
||||||
("lambda" sexp def-form)
|
|
||||||
sexp
|
|
||||||
("mirror" sexp def-form)
|
("mirror" sexp def-form)
|
||||||
("field" sexp))))
|
("lambda" sexp def-form)
|
||||||
|
("field" sexp &rest sexp)
|
||||||
|
sexp)))
|
||||||
`(defun ,name ()
|
`(defun ,name ()
|
||||||
,(define--snippet-body body)))
|
,(define--snippet-body body)))
|
||||||
|
|
||||||
@ -534,5 +534,6 @@ can be:
|
|||||||
(provide 'snippet)
|
(provide 'snippet)
|
||||||
|
|
||||||
;; Local Variables:
|
;; Local Variables:
|
||||||
|
;; coding: utf-8
|
||||||
;; End:
|
;; End:
|
||||||
;; snippet.el ends here
|
;; snippet.el ends here
|
||||||
|
Loading…
x
Reference in New Issue
Block a user