mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-15 08:21:18 +00:00
Fix highlight use-package for Emacs snapshot
The commit 57f80d4
fixed the highlight by following the regexp as for
require. However in Emacs truck, it only highlights first part of the
package name.
This change follows the regexp for require on emacs truck. See line
2327 on font-lock.el in the following patch.
http://bzr.savannah.gnu.org/lh/emacs/trunk/revision/111821
This commit is contained in:
parent
749295c052
commit
bbf2b5034b
1 changed files with 1 additions and 1 deletions
|
@ -661,7 +661,7 @@ For full documentation. please see commentary.
|
|||
(put 'use-package 'lisp-indent-function 1)
|
||||
|
||||
(defconst use-package-font-lock-keywords
|
||||
'(("(\\(use-package\\)\\_>[ \t']*\\(\\sw+\\)?"
|
||||
'(("(\\(use-package\\)\\_>[ \t']*\\(\\(?:\\sw\\|\\s_\\)+\\)?"
|
||||
(1 font-lock-keyword-face)
|
||||
(2 font-lock-constant-face nil t))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue