branch: elpa/llama
commit a0dcde9d95b307d18fa812ebfbb0d8b1acabea11
Author: Jonas Bernoulli <jo...@bernoul.li>
Commit: Jonas Bernoulli <jo...@bernoul.li>

    llama-font-lock-keywords: Also fontify llama
    
    Use the same face as for `lambda' not the same as for `##'.  The reason
    that `##' uses another face is that it might appear right next to
    another symbol using `font-lock-keyword-face' with no space in between.
    By using another face, we prevent them from looking like one symbol.
    The same cannot happen for `llama'.
---
 llama.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/llama.el b/llama.el
index c23dd67871..0aeaecda92 100644
--- a/llama.el
+++ b/llama.el
@@ -346,6 +346,7 @@ expansion, and the looks of this face should hint at that.")
 
 (defvar llama-font-lock-keywords
   '(("(\\(##\\)" 1 'llama-macro)
+    ("(\\(llama\\)\\_>" 1 'font-lock-keyword-face)
     ("\\_<\\(?:_?%[1-9]?\\)\\_>"
      0 (llama--maybe-face 'llama-mandatory-argument))
     ("\\_<\\(?:_?&[1-9*]?\\)\\_>"

Reply via email to