aboutsummaryrefslogtreecommitdiff
path: root/emacs/coolj.el
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-12-25 19:31:12 -0400
committerDavid Bremner <david@tethera.net>2021-12-29 14:24:21 -0400
commit6721e2eac5c8698cc7f364c58c646f6b44105b57 (patch)
treed343d670a27c374dd9b00a16654e3632e58c2e8b /emacs/coolj.el
parent3eb25c94bd8fe4065d6df6d665ee393cb9a0ad6f (diff)
emacs: update coolj-line-prefix-regexp to make space optional
Jani reported that lines prefixed with '>' (as opposed to '> ') are not highlighted properly [1]. David E responded with a updated regex [2]. This change implements David E's suggestion. [1]: id:87a8b5pcky.fsf@nikula.org [2]: id:m2pok1e3gv.fsf@dme.org
Diffstat (limited to 'emacs/coolj.el')
-rw-r--r--emacs/coolj.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/coolj.el b/emacs/coolj.el
index d820525b..79d2a1b7 100644
--- a/emacs/coolj.el
+++ b/emacs/coolj.el
@@ -45,7 +45,7 @@ Otherwise respect `fill-column'."
:group 'coolj
:type 'boolean)
-(defcustom coolj-line-prefix-regexp "^\\(>+ \\)*"
+(defcustom coolj-line-prefix-regexp "^\\(>+ ?\\)*"
"Regular expression that matches line prefixes."
:group 'coolj
:type 'regexp)