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

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

[elpa] externals/ssh-deploy d548011 036/133: Fixed bug with constant def


From: Stefan Monnier
Subject: [elpa] externals/ssh-deploy d548011 036/133: Fixed bug with constant definition
Date: Sat, 27 Mar 2021 14:48:39 -0400 (EDT)

branch: externals/ssh-deploy
commit d548011208478d61e86da535ae1bff76023c192b
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>

    Fixed bug with constant definition
---
 ssh-deploy-diff-mode.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/ssh-deploy-diff-mode.el b/ssh-deploy-diff-mode.el
index 7898ae8..e126b47 100644
--- a/ssh-deploy-diff-mode.el
+++ b/ssh-deploy-diff-mode.el
@@ -49,11 +49,12 @@
     )
   "Use list of keywords to build regular expression for syntax highlighting.")
 
-(defconst ssh-deploy-diff-mode--font-lock-keywords
-  "Minimal highlighting expressions for SSH Deploy Diff major mode."
+(defconst ssh-deploy-diff-mode--font-lock-keyword
   (let ((regex (concat "\\<" (regexp-opt ssh-deploy-diff-mode--keywords t) 
"\\>")))
     (list
-     '("\\('\\w*'\\)" . font-lock-variable-name-face))))
+     `(,regex . font-lock-builtin-face)
+     '("\\('\\w*'\\)" . font-lock-variable-name-face)))
+  "Minimal highlighting expressions for SSH Deploy Diff major mode.")
 
 (defvar ssh-deploy-diff-mode-map
   (let ((map (make-keymap)))



reply via email to

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