[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] scratch/editorconfig-cc 023a221d87 239/351: Add fixes for packa
From: |
Stefan Monnier |
Subject: |
[nongnu] scratch/editorconfig-cc 023a221d87 239/351: Add fixes for package-lint |
Date: |
Thu, 13 Jun 2024 18:38:57 -0400 (EDT) |
branch: scratch/editorconfig-cc
commit 023a221d8702b0f75a3222972f5f646e7a5ceecb
Author: 10sr <8.slashes@gmail.com>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
Add fixes for package-lint
---
Makefile | 3 +--
editorconfig-conf-mode.el | 1 +
editorconfig-core-handle.el | 1 +
editorconfig-core.el | 1 +
editorconfig-fnmatch.el | 1 +
editorconfig.el | 12 ++++++------
6 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/Makefile b/Makefile
index 30dd25f663..d554209cf2 100644
--- a/Makefile
+++ b/Makefile
@@ -12,8 +12,7 @@ ERT_TESTS = $(wildcard $(PROJECT_ROOT_DIR)/ert-tests/*.el)
BATCHFLAGS = -batch -q --no-site-file -L $(PROJECT_ROOT_DIR)
MAIN_SRC = editorconfig.el
-SRCS = editorconfig.el editorconfig-core.el editorconfig-core-handle.el \
- editorconfig-fnmatch.el
+SRCS = $(wildcard $(PROJECT_ROOT_DIR)/*.el)
OBJS = $(SRCS:.el=.elc)
$(OBJS): %.elc: %.el
diff --git a/editorconfig-conf-mode.el b/editorconfig-conf-mode.el
index 55911fe9df..3bf305a65c 100644
--- a/editorconfig-conf-mode.el
+++ b/editorconfig-conf-mode.el
@@ -4,6 +4,7 @@
;; Author: EditorConfig Team <editorconfig@googlegroups.com>
;; URL: https://github.com/editorconfig/editorconfig-emacs#readme
+;; Version: 0.7.14
;; See
;; https://github.com/editorconfig/editorconfig-emacs/graphs/contributors
diff --git a/editorconfig-core-handle.el b/editorconfig-core-handle.el
index d87a11c8db..06e1169266 100644
--- a/editorconfig-core-handle.el
+++ b/editorconfig-core-handle.el
@@ -4,6 +4,7 @@
;; Author: EditorConfig Team <editorconfig@googlegroups.com>
;; URL: https://github.com/editorconfig/editorconfig-emacs#readme
+;; Version: 0.7.14
;; See
;; https://github.com/editorconfig/editorconfig-emacs/graphs/contributors
diff --git a/editorconfig-core.el b/editorconfig-core.el
index 77f8aff24e..fd2435d319 100644
--- a/editorconfig-core.el
+++ b/editorconfig-core.el
@@ -4,6 +4,7 @@
;; Author: EditorConfig Team <editorconfig@googlegroups.com>
;; URL: https://github.com/editorconfig/editorconfig-emacs#readme
+;; Version: 0.7.14
;; See
;; https://github.com/editorconfig/editorconfig-emacs/graphs/contributors
diff --git a/editorconfig-fnmatch.el b/editorconfig-fnmatch.el
index b8e8903d1f..0299678dfc 100644
--- a/editorconfig-fnmatch.el
+++ b/editorconfig-fnmatch.el
@@ -4,6 +4,7 @@
;; Author: EditorConfig Team <editorconfig@googlegroups.com>
;; URL: https://github.com/editorconfig/editorconfig-emacs#readme
+;; Version: 0.7.14
;; See
;; https://github.com/editorconfig/editorconfig-emacs/graphs/contributors
diff --git a/editorconfig.el b/editorconfig.el
index d4e30c48c2..96c23b995d 100644
--- a/editorconfig.el
+++ b/editorconfig.el
@@ -177,7 +177,7 @@ overwrite \"indent_style\" property when current
`major-mode' is a
(js2-mode js2-basic-offset)
(js3-mode js3-indent-level)
(json-mode js-indent-level)
- (latex-mode . editorconfig-set-indentation/latex-mode)
+ (latex-mode . editorconfig-set-indentation-latex-mode)
(lisp-mode lisp-indent-offset)
(livescript-mode livescript-tab-width)
(matlab-mode matlab-indent-level)
@@ -194,7 +194,7 @@ overwrite \"indent_style\" property when current
`major-mode' is a
(pike-mode c-basic-offset)
(ps-mode ps-mode-tab)
(puppet-mode puppet-indent-level)
- (python-mode . editorconfig-set-indentation/python-mode)
+ (python-mode . editorconfig-set-indentation-python-mode)
(ruby-mode ruby-indent-level)
(scala-mode scala-indent:step)
(scss-mode css-indent-offset)
@@ -299,11 +299,11 @@ number - `lisp-indent-offset' is not set only if
indent_size is
(and (stringp string)
(string-match-p "\\`[0-9]+\\'" string)))
-(defun editorconfig-set-indentation/python-mode (size)
+(defun editorconfig-set-indentation-python-mode (size)
"Set `python-mode' indent size to SIZE."
)
-(defun editorconfig-set-indentation/latex-mode (size)
+(defun editorconfig-set-indentation-latex-mode (size)
"Set `latex-mode' indent size to SIZE."
)
@@ -380,7 +380,7 @@ FILETYPE should be s string like `\"ini\"`, if not nil or
empty string."
"-mode")))))
(when mode
(if (fboundp mode)
- (editorconig-apply-major-mode-safely mode)
+ (editorconfig-apply-major-mode-safely mode)
(display-warning :error (format "Major-mode `%S' not found"
mode))
nil))))
@@ -392,7 +392,7 @@ FILETYPE should be s string like `\"ini\"`, if not nil or
empty string."
'permanent-local
t)
-(defun editorconig-apply-major-mode-safely (mode)
+(defun editorconfig-apply-major-mode-safely (mode)
"Set `major-mode' to MODE.
Normally `editorconfig-apply' will be hooked so that it runs when changing
`major-mode', so there is a possibility that MODE is called infinitely if
- [nongnu] scratch/editorconfig-cc 658bfb9bd8 213/351: Fix README and texi, (continued)
- [nongnu] scratch/editorconfig-cc 658bfb9bd8 213/351: Fix README and texi, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc e24803269d 212/351: Update document, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 6929cad23b 223/351: Update get-properties-hash, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc cdbd60a8a6 234/351: M-x checkdoc, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 0bbf63616a 231/351: Stop using cl-defclass, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 9cee9bb143 225/351: Get alist result from hash result, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 516ebfefa3 232/351: Remove useless spaces, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 50ed9cf1a7 235/351: Update year, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc ae8028cf3d 233/351: Add struct docstring, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc d5473b369e 236/351: Remove comment, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 023a221d87 239/351: Add fixes for package-lint,
Stefan Monnier <=
- [nongnu] scratch/editorconfig-cc 8271234c27 241/351: Use -*- lexical-binding: t -*-, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 876e476ded 238/351: Update README, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc c6d823b8a7 242/351: Separate tool functions, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 882e7f5fa0 249/351: Use API to get version info (#193), Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc ace446e357 261/351: Bump version to v0.8.1, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 0644119b21 272/351: Keep a CHANGELOG (#221), Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 39eca13316 279/351: Add Github Actions build.yaml, Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 26c875d609 269/351: Define -mode-apply as an interactive command (#216), Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 3305825fd3 298/351: Make new impl work when changing major-mode (#255), Stefan Monnier, 2024/06/13
- [nongnu] scratch/editorconfig-cc 2e55840057 266/351: Use elisp core by default, Stefan Monnier, 2024/06/13