branch: externals/dash
commit 38cd4d273abda151f93930ce234eb06490c45e8f
Author: Nicolas Richard <[email protected]>
Commit: Nicolas Richard <[email protected]>
Fix fontification when there are dashes
---
dash.el | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dash.el b/dash.el
index 2082f11..4d4ef4e 100644
--- a/dash.el
+++ b/dash.el
@@ -1397,9 +1397,9 @@ structure such as plist or alist."
"acc"
"other"
)))
- (font-lock-add-keywords 'emacs-lisp-mode `((,(concat "\\<"
(regexp-opt special-variables 'paren) "\\>")
+ (font-lock-add-keywords 'emacs-lisp-mode `((,(concat "\\_<"
(regexp-opt special-variables 'paren) "\\_>")
1
font-lock-variable-name-face)) 'append)
- (font-lock-add-keywords 'emacs-lisp-mode `((,(concat "(\\s-*"
(regexp-opt new-keywords 'paren) "\\>")
+ (font-lock-add-keywords 'emacs-lisp-mode `((,(concat "(\\s-*"
(regexp-opt new-keywords 'paren) "\\_>")
1
font-lock-keyword-face)) 'append))
(--each (buffer-list)
(with-current-buffer it