summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/ert.el2
1 files changed, 1 insertions, 1 deletions
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))))