]> git.eshelyaron.com Git - emacs.git/commitdiff
Make debugging ert--erts-specifications easier
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 7 Nov 2021 22:45:14 +0000 (23:45 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 7 Nov 2021 22:45:14 +0000 (23:45 +0100)
* lisp/emacs-lisp/ert.el (ert--erts-specifications): Strip text
properties from specs to make debugging easier.

lisp/emacs-lisp/ert.el

index aff3804027144b9f24e029a7da520a3974a196b8..8ebc81fd418a25a1605c5af98268b12f49cc77c6 100644 (file)
@@ -2759,7 +2759,7 @@ TRANSFORM will be called to get from before to after."
               (while (looking-at "[ \t]+\\(.*\\)")
                 (setq value (concat value (match-string 1)))
                 (forward-line 1))
-              (push (cons name value) specs))
+              (push (cons name (substring-no-properties value)) specs))
           (forward-line 1)))
       (nreverse specs))))