emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/relint 29e5427 11/16: Recognise a few more `featurep` a


From: Mattias Engdegård
Subject: [elpa] externals/relint 29e5427 11/16: Recognise a few more `featurep` arguments
Date: Mon, 30 Nov 2020 05:00:59 -0500 (EST)

branch: externals/relint
commit 29e5427b0b269a258bd14afbc50aaf86578ac37a
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    Recognise a few more `featurep` arguments
    
    Assume that `font-lock` and `lisp-float-type` are always present.
---
 relint.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/relint.el b/relint.el
index 81859ac..1b8a69e 100644
--- a/relint.el
+++ b/relint.el
@@ -943,7 +943,7 @@ not be evaluated safely."
        ((eq head 'featurep)
         (let ((arg (relint--eval (car body))))
           (cond ((eq arg 'xemacs) nil)
-                ((memq arg '(emacs mule)) t)
+                ((memq arg '(emacs mule font-lock lisp-float-type)) t)
                 (t (throw 'relint-eval 'no-value)))))
 
        ;; Locally defined functions: try evaluating.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]