Skip to content

Instantly share code, notes, and snippets.

@fakedrake
Created February 4, 2013 14:00
Show Gist options
  • Save fakedrake/4706887 to your computer and use it in GitHub Desktop.
Save fakedrake/4706887 to your computer and use it in GitHub Desktop.
(setq my:elisp-extra-keywords '("and" "interactive" "or" "list" "setq-default" "setq" "setf" "set"))
(font-lock-add-keywords 'emacs-lisp-mode
(mapc '(lambda (kw) (cons (format "\\<[percent]s\\>" kw) font-lock-keyword-face)) my:elisp-extra-keywords))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment