From 647abad97d36849ef3a7306248bf8617d17b300d Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 19 Jun 2022 01:15:02 +0200 Subject: [PATCH] fix(cli): void-variable ansi-color--control-seq-fragment-regexp This variable wasn't introduced until Emacs 29. Amend: 6c0b7e1530a6 --- core/autoload/print.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/autoload/print.el b/core/autoload/print.el index a4d9099ce..9caba15a6 100644 --- a/core/autoload/print.el +++ b/core/autoload/print.el @@ -300,7 +300,7 @@ Each argument in ARGS can be a list, as if they were arguments to `format!': (c 0)) (while (and (not (eolp)) (<= n target)) (save-match-data - (if (looking-at ansi-color--control-seq-fragment-regexp) + (if (looking-at ansi-color-control-seq-regexp) (let ((len (length (match-string 0)))) (cl-incf c len) (forward-char len))