mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-17 13:33:36 -05:00
fix(cli): void-variable ansi-color--control-seq-fragment-regexp
This variable wasn't introduced until Emacs 29.
Amend: 6c0b7e1530
This commit is contained in:
@@ -300,7 +300,7 @@ Each argument in ARGS can be a list, as if they were arguments to `format!':
|
|||||||
(c 0))
|
(c 0))
|
||||||
(while (and (not (eolp)) (<= n target))
|
(while (and (not (eolp)) (<= n target))
|
||||||
(save-match-data
|
(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))))
|
(let ((len (length (match-string 0))))
|
||||||
(cl-incf c len)
|
(cl-incf c len)
|
||||||
(forward-char len))
|
(forward-char len))
|
||||||
|
Reference in New Issue
Block a user