emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 8ba27b7: Avoid invalid read syntax errors due to 'e


From: Eli Zaretskii
Subject: [Emacs-diffs] master 8ba27b7: Avoid invalid read syntax errors due to 'ert-with-test-buffer'
Date: Sat, 4 Feb 2017 11:19:51 +0000 (UTC)

branch: master
commit 8ba27b7ce2f4a98e3c14fe752042c60fd7576fef
Author: Gemini Lasswell <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Avoid invalid read syntax errors due to 'ert-with-test-buffer'
    
    * lisp/emacs-lisp/ert-x.el (ert-with-test-buffer): Fix the
    'declare' form.  (Bug#24722)
---
 lisp/emacs-lisp/ert-x.el |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/ert-x.el b/lisp/emacs-lisp/ert-x.el
index 7d99cb3..8530253 100644
--- a/lisp/emacs-lisp/ert-x.el
+++ b/lisp/emacs-lisp/ert-x.el
@@ -97,7 +97,7 @@ To be used in ERT tests.  If BODY finishes successfully, the 
test
 buffer is killed; if there is an error, the test buffer is kept
 around on error for further inspection.  Its name is derived from
 the name of the test and the result of NAME-FORM."
-  (declare (debug ((form) body))
+  (declare (debug ((":name" form) body))
            (indent 1))
   `(ert--call-with-test-buffer ,name-form (lambda () ,@body)))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]