From 7a9782925d347ec87137e4d691dba5a404eda712 Mon Sep 17 00:00:00 2001 From: Benson Chu Date: Sun, 10 Aug 2025 14:44:16 -0500 Subject: [PATCH] Got the order wrong --- lisp/self-chat-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/self-chat-mode.el b/lisp/self-chat-mode.el index f959610..e84bb3e 100644 --- a/lisp/self-chat-mode.el +++ b/lisp/self-chat-mode.el @@ -148,9 +148,9 @@ shuffling is done in place." "'s face for self-chat-mode")) (defvar ,face-sym ',face-sym) (add-to-list 'self-chat-highlights - '(,(format "^> %s:.*$" name) . ,face-sym)) + '(,(rx symbol-start (literal name) symbol-end) 0 ,face-sym prepend)) (add-to-list 'self-chat-highlights - '(,(rx symbol-start (literal name) symbol-end) 0 ,face-sym prepend))) + '(,(format "^> %s:.*$" name) . ,face-sym))) (cl-incf num)))) list))))