Skip to content

Instantly share code, notes, and snippets.

@fakedrake
Last active December 12, 2015 03:28
Show Gist options
  • Save fakedrake/4706870 to your computer and use it in GitHub Desktop.
Save fakedrake/4706870 to your computer and use it in GitHub Desktop.
;; Extra keywords
(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 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