]> git.eshelyaron.com Git - emacs.git/commit
editorconfig.el: Miscellaneous minor changes
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 18 Jun 2024 14:51:48 +0000 (10:51 -0400)
committerEshel Yaron <me@eshelyaron.com>
Fri, 21 Jun 2024 19:00:14 +0000 (21:00 +0200)
commit9053a3b40c9814708756eb74cfad00541b9d4074
tree39a38398a6fe2e2680f8716d0919ac7d7403dc58
parent9168e30613b5275d02907dd414982124cde277a1
editorconfig.el: Miscellaneous minor changes

* lisp/editorconfig.el: Drop redundant `require`s of pcase, nadvice, rx.
Remove unnecessary (and incorrect) `defvar`s in `eval-when-compile`.
(find-library-name, lm-version): Move declarations to right after
the corresponding `require` so we have a reason to believe they're defined.
(editorconfig-version): Use `package-get-version` when available.

* lisp/editorconfig-core.el (editorconfig-core-get-nearest-editorconfig)
(editorconfig-core-get-properties, editorconfig-core-get-properties-hash):
* lisp/editorconfig-fnmatch.el (editorconfig-fnmatch-p):
Remove autoload cookies.

(cherry picked from commit 57b2439cb566599c570826b141d31cdf52478f9d)
lisp/editorconfig-core.el
lisp/editorconfig-fnmatch.el
lisp/editorconfig.el