Skip to content

Commit

Permalink
* helm-config.el: fontlock with-helm* functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thierry Volpiatto committed Dec 27, 2012
1 parent 8e09fa5 commit 5c83b00
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions helm-config.el
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 5c83b00

Please sign in to comment.