From: Lars Ingebrigtsen Date: Sun, 7 Nov 2021 22:45:14 +0000 (+0100) Subject: Make debugging ert--erts-specifications easier X-Git-Tag: emacs-29.0.90~3671^2~94 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=67276f3403588718a11441ef5a43989b3f3d1cb7;p=emacs.git Make debugging ert--erts-specifications easier * lisp/emacs-lisp/ert.el (ert--erts-specifications): Strip text properties from specs to make debugging easier. --- 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))))