From 6bef88b512f088a0bf769c45c6e5ee8f5f224b39 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sat, 18 Dec 2021 14:33:49 -0600 Subject: Set `lui-formatting-list' --- lisp/+circe.el | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lisp/+circe.el') diff --git a/lisp/+circe.el b/lisp/+circe.el index 7b11ce2..d9ea9cf 100644 --- a/lisp/+circe.el +++ b/lisp/+circe.el @@ -56,6 +56,13 @@ message the current topic.") "Return a format string for `lui-format' for metadata messages." (format "{nick:%1$d.%1$ds} *** %s" (- +circe-left-margin 3) string)) +(defmacro +lui-make-formatting-list-rx (char) + "Make a formatting regex for CHAR delimiters. +For entry into `lui-formatting-list'." + `(rx (or bol whitespace) + (group ,char (+? (not (any whitespace ,char))) ,char) + (or eol whitespace))) + ;;; Hooks & Advice (defun +circe-chat@set-prompt () -- cgit 1.4.1-21-gabe81