Closed haxney closed 10 years ago
Thanks, done. Package update at melpa will arrive soon :)
there is yet a bit code to "steal" from use-package
to get req-package
symbol having the same face as require
, use-require
:
(defconst req-package-font-lock-keywords
'(("(\\(req-package\\)\\_>[ \t']*\\(\\(?:\\sw\\|\\s_\\)+\\)?"
(1 font-lock-keyword-face)
(2 font-lock-constant-face nil t))))
(font-lock-add-keywords 'emacs-lisp-mode req-package-font-lock-keywords)
ok, done
use-package
uses thedefun
indentation style, and it would be nice ifreq-package
did the same. This can be accomplished by addingAfter the docstring of
req-package
or addingsomewhere after the definition of
req-package
.