[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/relint acf8c7101d 3/6: Correct constant evaluation of a
From: |
Mattias Engdegård |
Subject: |
[elpa] externals/relint acf8c7101d 3/6: Correct constant evaluation of alist-get |
Date: |
Mon, 23 Jan 2023 08:30:08 -0500 (EST) |
branch: externals/relint
commit acf8c7101dbaffc6166f78e2e274fcb5871f70ed
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>
Correct constant evaluation of alist-get
---
relint.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/relint.el b/relint.el
index 53f447dcfa..753a6e2c32 100644
--- a/relint.el
+++ b/relint.el
@@ -691,9 +691,9 @@ not be evaluated safely."
(let* ((all-args (mapcar #'relint--eval body))
(testfn (nth 4 all-args))
(args (if testfn
- all-args
- (append (relint--take 4 all-args)
- (list (relint--wrap-function testfn))))))
+ (append (relint--take 4 all-args)
+ (list (relint--wrap-function testfn)))
+ all-args)))
(condition-case nil
(apply head args)
(error (throw 'relint-eval 'no-value)))))
@@ -2269,7 +2269,7 @@ Return a list of (FORM . STARTING-POSITION)."
;; Specific to cc-mode
"c-lang-defconst"))))
(and (= steps 4)
- (looking-at (rx (or "define-derived-mode"))))))))
+ (looking-at (rx "define-derived-mode")))))))
(defun relint--suspicious-backslash (string-start)
"With point at an ineffective backslash, emit an warning unless filtered out.
- [elpa] externals/relint updated (d29dd3757f -> f3da21d174), Mattias Engdegård, 2023/01/23
- [elpa] externals/relint f3da21d174 6/6: Increment version to 1.21, Mattias Engdegård, 2023/01/23
- [elpa] externals/relint dce0a4488e 2/6: Update copyright year to 2023, Mattias Engdegård, 2023/01/23
- [elpa] externals/relint 99f24863d1 5/6: Require subr-x for string-trim in older Emacs versions, Mattias Engdegård, 2023/01/23
- [elpa] externals/relint acf8c7101d 3/6: Correct constant evaluation of alist-get,
Mattias Engdegård <=
- [elpa] externals/relint fe1c11d733 1/6: Fix source position computation in certain dotted lists, Mattias Engdegård, 2023/01/23
- [elpa] externals/relint cbde6e35c7 4/6: Add check for duplicates in rx or-forms, Mattias Engdegård, 2023/01/23