Skip to content

Instantly share code, notes, and snippets.

@fukamachi
Created November 19, 2012 06:42
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save fukamachi/4109289 to your computer and use it in GitHub Desktop.
Save fukamachi/4109289 to your computer and use it in GitHub Desktop.
Make the color of parenthesis gray.
(defvar paren-face 'paren-face)
(make-face 'paren-face)
(set-face-foreground 'paren-face "#666666")
(dolist (mode '(lisp-mode
emacs-lisp-mode
scheme-mode))
(font-lock-add-keywords mode
'(("(\\|)" . paren-face))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment