diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-11-25 22:51:04 +0000 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-11-25 22:51:04 +0000 |
commit | 4368b7693a0fa8e9118655014685f7aed299a75f (patch) | |
tree | 05d673ba92bdb64e0bd5bf400b924d8efe4c7e78 /sx-question-mode.el | |
parent | 1457f2211ca001604dc22be6af463dcb33459a74 (diff) |
Cleanup old obsolete line.
Diffstat (limited to 'sx-question-mode.el')
-rw-r--r-- | sx-question-mode.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sx-question-mode.el b/sx-question-mode.el index 8ccc576..e762bab 100644 --- a/sx-question-mode.el +++ b/sx-question-mode.el @@ -332,7 +332,6 @@ where `value' is given `face' as its face. (defun sx-question-mode--fill-and-fontify (text) "Return TEXT filled according to `markdown-mode'." (with-temp-buffer - (erase-buffer) (insert text) (markdown-mode) (font-lock-mode -1) @@ -344,8 +343,8 @@ where `value' is given `face' as its face. (font-lock-add-keywords ;; Highlight usernames. nil `((,(rx (or blank line-start) - (group-n 1 (and "@" (1+ (or (syntax word) (syntax symbol))))) - symbol-end) + (group-n 1 (and "@" (1+ (or (syntax word) (syntax symbol))))) + symbol-end) 1 font-lock-builtin-face))) ;; Everything. (font-lock-fontify-region (point-min) (point-max)) |