emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/dash 38cd4d2 284/426: Fix fontification when there are


From: Phillip Lord
Subject: [elpa] externals/dash 38cd4d2 284/426: Fix fontification when there are dashes
Date: Tue, 04 Aug 2015 19:38:18 +0000

branch: externals/dash
commit 38cd4d273abda151f93930ce234eb06490c45e8f
Author: Nicolas Richard <address@hidden>
Commit: Nicolas Richard <address@hidden>

    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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]