Permalink
Browse files

* helm-config.el: fontlock with-helm* functions.

  • Loading branch information...
1 parent 8e09fa5 commit 5c83b00323a5fbcb1c009fd854e4841cc1776fbe @thierryvolpiatto thierryvolpiatto committed Dec 27, 2012
Showing with 13 additions and 0 deletions.
  1. +13 −0 helm-config.el
View
@@ -168,6 +168,19 @@
(eval-after-load "session"
'(push "\\`helm-c-source" session-globals-exclude))
+;;; Fontlock
+(dolist (mode '(emacs-lisp-mode lisp-interaction-mode))
+ (font-lock-add-keywords
+ mode
+ '(("(\\<\\(with-helm-after-update-hook\\)\\>" 1 font-lock-keyword-face)
+ ("(\\<\\(with-helm-window\\)\\>" 1 font-lock-keyword-face)
+ ("(\\<\\(with-helm-quittable\\)\\>" 1 font-lock-keyword-face)
+ ("(\\<\\(with-helm-current-buffer\\)\\>" 1 font-lock-keyword-face)
+ ("(\\<\\(with-helm-show-completion\\)\\>" 1 font-lock-keyword-face)
+ ("(\\<\\(with-helm-default-directory\\)\\>" 1 font-lock-keyword-face)
+ ("(\\<\\(with-helm-display-same-window\\)\\>" 1 font-lock-keyword-face)
+ ("(\\<\\(with-helm-restore-variables\\)\\>" 1 font-lock-keyword-face))))
+
;;; Start of automatically extracted autoloads.

0 comments on commit 5c83b00

Please sign in to comment.