diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-11-15 23:26:08 +0000 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-11-15 23:26:08 +0000 |
commit | 4715d7e9e4c3bc4f4488f2a09c285171b245296d (patch) | |
tree | e37902a1b62495acacea93f1061d85c0eaf911cb | |
parent | 1a843499ae1ebc4ec56cfb27f79779293696cb2c (diff) | |
parent | 97a0d11c657fcb3a7369e62ab4c7b5ee676444ea (diff) |
Merge pull request #58 from vermiculus/fix-rx-macro-use
Fix use of `rx' macro
-rw-r--r-- | sx-question-mode.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sx-question-mode.el b/sx-question-mode.el index 32cd112..03647bc 100644 --- a/sx-question-mode.el +++ b/sx-question-mode.el @@ -345,11 +345,11 @@ HEADER is given `sx-question-mode-header' face, and value is given FACE. (when sx-question-mode-bullet-appearance (font-lock-add-keywords ;; Bullet items. nil - `(((rx line-start (0+ blank) (group-n 1 (any "*+-")) blank) + `((,(rx line-start (0+ blank) (group-n 1 (any "*+-")) blank) 1 '(face nil display ,sx-question-mode-bullet-appearance) prepend)))) (font-lock-add-keywords ;; Highlight usernames. nil - `(((rx (or blank line-start) + `((,(rx (or blank line-start) (group-n 1 (and "@" (1+ (or (syntax word) (syntax symbol))))) symbol-end) 1 font-lock-builtin-face))) |