From: Noam Postavsky Date: Sun, 11 Aug 2013 20:05:06 +0000 (-0400) Subject: refine use-package highlighting regexp X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~1745^2~15^2~448^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2a1e7e418a;p=emacs.git refine use-package highlighting regexp --- diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el index 20344799b8a..33c6e18a626 100644 --- a/lisp/use-package/use-package.el +++ b/lisp/use-package/use-package.el @@ -660,7 +660,7 @@ For full documentation. please see commentary. (put 'use-package 'lisp-indent-function 1) (defconst use-package-font-lock-keywords - '(("(\\(use-package\\)\\> *\\(\\sw+\\)?" + '(("(\\(use-package\\)\\_>[\n[:space:]]+\\(\\(?:\\s_\\|\\sw\\)+\\)" (1 font-lock-keyword-face) (2 font-lock-constant-face))))