[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/relint 79ba1f0183 14/17: Require Emacs 27 or newer
From: |
ELPA Syncer |
Subject: |
[elpa] externals/relint 79ba1f0183 14/17: Require Emacs 27 or newer |
Date: |
Thu, 1 Aug 2024 12:59:08 -0400 (EDT) |
branch: externals/relint
commit 79ba1f0183207329604689c9fb20439c7dfc823e
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>
Require Emacs 27 or newer
The corresponding xr branch requires Emacs 27 -- no point to waste
time on Emacs 26 here.
---
.github/workflows/test.yml | 1 -
relint.el | 17 ++++++-----------
2 files changed, 6 insertions(+), 12 deletions(-)
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index dc1ac9e37c..166944d28f 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -14,7 +14,6 @@ jobs:
strategy:
matrix:
emacs_version:
- - "26.3"
- "27.2"
- "28.2"
- "29.3"
diff --git a/relint.el b/relint.el
index 636f6f4349..0b6c120a14 100644
--- a/relint.el
+++ b/relint.el
@@ -4,7 +4,7 @@
;; Author: Mattias Engdegård <mattiase@acm.org>
;; Version: 1.24
-;; Package-Requires: ((xr "1.25") (emacs "26.1"))
+;; Package-Requires: ((xr "1.25") (emacs "27.1"))
;; URL: https://github.com/mattiase/relint
;; Keywords: lisp, regexps
@@ -365,7 +365,6 @@ in case it occupies more than one position in the buffer."
(defun relint--escape-string (str escape-printable)
(replace-regexp-in-string
- ;; Use pair notation for raw chars; "\200-\377" is buggy in Emacs 26.
(rx (any cntrl ?\177 (#x3fff80 . #x3fffff) ?\\ ?\"))
(lambda (s)
(let ((c (logand (string-to-char s) #xff)))
@@ -1757,9 +1756,7 @@ than just to a surrounding or producing expression."
(push (cons arg arg) ranges))
((stringp arg)
- ;; `string-to-multibyte' was marked obsolete in Emacs 26,
- ;; but no longer is.
- (let* ((s (with-no-warnings (string-to-multibyte arg)))
+ (let* ((s (string-to-multibyte arg))
(j 0)
(len (length s)))
(while (< j len)
@@ -2757,12 +2754,10 @@ TARGET is the file or directory to use for a repeated
run."
(defun relint--tree-files (dir)
(let ((re (rx bos (not (any ".")) (* anything) ".el" eos)))
- (if (eval-when-compile (>= emacs-major-version 27))
- (directory-files-recursively
- dir re nil
- ;; Save time by not pointlessly descending into huge .git directories.
- (lambda (s) (not (string-suffix-p "/.git" s))))
- (directory-files-recursively dir re))))
+ (directory-files-recursively
+ dir re nil
+ ;; Save time by not pointlessly descending into huge .git directories.
+ (lambda (s) (not (string-suffix-p "/.git" s))))))
(defun relint--scan-buffer (buffer)
"Scan BUFFER; return (COMPLAINTS . SUPPRESSED) where
- [elpa] externals/relint updated (9cb20f89ce -> 38c0468a05), ELPA Syncer, 2024/08/01
- [elpa] externals/relint d0bb526e77 02/17: Faster (nonrecursive) traversal of let* bindings, ELPA Syncer, 2024/08/01
- [elpa] externals/relint 89e15852b1 01/17: Move version history to separate NEWS file, ELPA Syncer, 2024/08/01
- [elpa] externals/relint 7abad19169 03/17: Adapt to xr changes: ranged diagnostics with severity field, ELPA Syncer, 2024/08/01
- [elpa] externals/relint 61724881c3 10/17: Use a defstruct for diag objects instead of raw vectors, ELPA Syncer, 2024/08/01
- [elpa] externals/relint 38c0468a05 17/17: Github CI: ignore changes to NEWS in actions, ELPA Syncer, 2024/08/01
- [elpa] externals/relint 35a2bc31c8 11/17: Simplify: remove expr-pos from diag object, ELPA Syncer, 2024/08/01
- [elpa] externals/relint 458a920b46 06/17: Use a vector instead of list for complaint tuple, ELPA Syncer, 2024/08/01
- [elpa] externals/relint 79ba1f0183 14/17: Require Emacs 27 or newer,
ELPA Syncer <=
- [elpa] externals/relint 8cd09d69ae 16/17: NEWS entry for upcoming version 2.0, ELPA Syncer, 2024/08/01
- [elpa] externals/relint 94b23171f0 12/17: Add pos-type field in diag object, ELPA Syncer, 2024/08/01
- [elpa] externals/relint 5c63370936 04/17: Adapt to xr grouped diagnostics, ELPA Syncer, 2024/08/01
- [elpa] externals/relint caea432bb4 09/17: Better string range highlighting in output, ELPA Syncer, 2024/08/01
- [elpa] externals/relint 8e8db0e4b3 07/17: Simplify: xr-lint no longer signals errors, ELPA Syncer, 2024/08/01
- [elpa] externals/relint bc17dfcd16 05/17: Use ranges in relint's own diags, ELPA Syncer, 2024/08/01
- [elpa] externals/relint 9495957270 08/17: Grouped diagnostics, handle 'info' messages, ELPA Syncer, 2024/08/01
- [elpa] externals/relint dfd0e30ac8 13/17: Expose the relint-diag object to the user, ELPA Syncer, 2024/08/01
- [elpa] externals/relint 61c0dd607f 15/17: Fix \x test in emacs 30, ELPA Syncer, 2024/08/01