emacs-diffs
[Top][All Lists]
Advanced

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

master b3b2cba: Fix some custom types in comp.el


From: Glenn Morris
Subject: master b3b2cba: Fix some custom types in comp.el
Date: Tue, 27 Apr 2021 01:10:24 -0400 (EDT)

branch: master
commit b3b2cba5ca01747309eec62814b6c268f5a57372
Author: Glenn Morris <rgm@gnu.org>
Commit: Glenn Morris <rgm@gnu.org>

    Fix some custom types in comp.el
    
    * lisp/emacs-lisp/comp.el (comp-deferred-compilation-deny-list)
    (comp-bootstrap-deny-list, comp-never-optimize-functions)
    (comp-async-env-modifier-form, comp-native-driver-options):
    Fix :type (`list' on its own isn't even a valid type).
---
 lisp/emacs-lisp/comp.el | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index ed1bee1..f8737a4 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -87,7 +87,7 @@ This is intended for debugging the compiler itself.
   '()
   "List of regexps to exclude matching files from deferred native compilation.
 Files whose names match any regexp is excluded from native compilation."
-  :type 'list
+  :type '(repeat regexp)
   :version "28.1")
 
 (defcustom comp-bootstrap-deny-list
@@ -95,7 +95,7 @@ Files whose names match any regexp is excluded from native 
compilation."
   "List of regexps to exclude files from native compilation during bootstrap.
 Files whose names match any regexp is excluded from native compilation
 during bootstrap."
-  :type 'list
+  :type '(repeat regexp)
   :version "28.1")
 
 (defcustom comp-never-optimize-functions
@@ -104,7 +104,7 @@ during bootstrap."
     ;; REMOVE.
     macroexpand rename-buffer)
   "Primitive functions to exclude from trampoline optimization."
-  :type 'list
+  :type '(repeat symbol)
   :version "28.1")
 
 (defcustom comp-async-jobs-number 0
@@ -130,7 +130,7 @@ compilation."
 (defcustom comp-async-env-modifier-form nil
   "Form evaluated before compilation by each asynchronous compilation 
subprocess.
 Used to modify the compiler environment."
-  :type 'list
+  :type 'sexp
   :risky t
   :version "28.1")
 
@@ -168,7 +168,7 @@ affecting the assembler and linker are likely to be useful.
 
 Passing these options is only available in libgccjit version 9
 and above."
-  :type 'list
+  :type '(repeat string)                ; FIXME is this right?
   :version "28.1")
 
 (defcustom comp-libgccjit-reproducer nil



reply via email to

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