From 67276f3403588718a11441ef5a43989b3f3d1cb7 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 7 Nov 2021 23:45:14 +0100 Subject: [PATCH] Make debugging ert--erts-specifications easier * lisp/emacs-lisp/ert.el (ert--erts-specifications): Strip text properties from specs to make debugging easier. --- lisp/emacs-lisp/ert.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/ert.el b/lisp/emacs-lisp/ert.el index aff38040271..8ebc81fd418 100644 --- a/lisp/emacs-lisp/ert.el +++ b/lisp/emacs-lisp/ert.el @@ -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)))) -- 2.39.2