From 55eaf62fd34a201c13f0f7a1cef781abd0d5ebc0 Mon Sep 17 00:00:00 2001 From: Joao Tavora Date: Thu, 17 Oct 2013 13:14:53 +0100 Subject: [PATCH] fix: order of edebug subforms in &or matters --- snippet.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/snippet.el b/snippet.el index 368cf61..c035625 100644 --- a/snippet.el +++ b/snippet.el @@ -308,10 +308,10 @@ can be: (declare (debug (&define name sexp &rest &or ;; curiously, function-form doesn't work here ;; - ("lambda" sexp def-form) - sexp ("mirror" sexp def-form) - ("field" sexp)))) + ("lambda" sexp def-form) + ("field" sexp &rest sexp) + sexp))) `(defun ,name () ,(define--snippet-body body))) @@ -534,5 +534,6 @@ can be: (provide 'snippet) ;; Local Variables: +;; coding: utf-8 ;; End: ;; snippet.el ends here