emacs/lisp/emacs-lisp
Xuan Wang 46b8746b38 Fix warning-suppress for list type "warning type"
Per the documentation of 'warning-suppress-types' and the
implementation of 'warning-suppress-p', a warning type can
be either a symbol or a list of symbols.  The previous
implementation could generate wrong 'warning-suppress-types':

  old behavior:
  type              warning-suppress-types
  pkg           ->    '((pkg))                  Correct
  (pkg subtype) ->    '(((pkg subtype)))        Incorrect

Now we check whether type is a cons cell first.  (Should not
use listp here, as listp returns t for nil.)

  new behavior:
  type              warning-suppress-types
  pkg           ->    '((pkg))                Correct
  (pkg subtype) ->    '((pkg subtype))        Correct

* lisp/emacs-lisp/warnings.el (warnings-suppress): Fix saving
warning types in 'warning-suppress-types'.  (Bug#70063)

Copyright-paperwork-exempt: yes
2024-03-31 12:06:15 +03:00
..
advice.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
avl-tree.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
backquote.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
backtrace.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
benchmark.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
bindat.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
byte-opt.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
byte-run.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
bytecomp.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cconv.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
chart.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
check-declare.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
checkdoc.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cl-extra.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cl-generic.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cl-indent.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cl-lib.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cl-macs.el ; * lisp/emacs-lisp/cl-macs.el (cl-labels): Fix stray diff marker. 2024-03-20 09:37:09 +01:00
cl-preloaded.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cl-print.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cl-seq.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
comp-cstr.el * Improve reproducibility of inferred values by native comp 2024-02-11 11:15:27 +01:00
comp.el * Don't install unnecessary trampolines (bug#69573) (don't merge) 2024-03-26 08:32:37 +01:00
copyright.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
crm.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cursor-sensor.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
debug-early.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
debug.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
derived.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
disass.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
easy-mmode.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
easymenu.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
edebug.el Improve documentation of 'edebug-print-*' variables 2024-03-16 12:42:16 +02:00
eieio-base.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
eieio-core.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
eieio-custom.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
eieio-datadebug.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
eieio-opt.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
eieio-speedbar.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
eieio.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
eldoc.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
elint.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
elp.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ert-x.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ert.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ewoc.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
faceup.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
find-func.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
float-sup.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
generate-lisp-file.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
generator.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
generic.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
gv.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
helper.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
hierarchy.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
icons.el Fix documentation of icon-elements 2024-01-14 17:03:16 +02:00
inline.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
let-alist.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
lisp-mnt.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
lisp-mode.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
lisp.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
loaddefs-gen.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
macroexp.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
map-ynp.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
map.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
memory-report.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
multisession.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
nadvice.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
oclosure.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
package-vc.el Improve directory prompt used by package-vc-checkout 2024-02-14 17:51:59 +01:00
package-x.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
package.el Handle package versions that are not version strings 2024-01-10 15:59:56 +02:00
pcase.el ; * lisp/emacs-lisp/pcase.el (pcase-let*, pcase-let): Another doc fix. 2024-02-20 19:15:38 +02:00
pp.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
radix-tree.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
range.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
re-builder.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
regexp-opt.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
regi.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ring.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
rmc.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
rx.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
seq.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
shadow.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
shortdoc.el Fix 'shortdoc-copy-function-as-kill' 2024-03-16 13:07:52 +02:00
shorthands.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
smie.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
subr-x.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
syntax.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
tabulated-list.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
tcover-ses.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
testcover.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
text-property-search.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
thunk.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
timer-list.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
timer.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
tq.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
trace.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
unsafep.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
vtable.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
warnings.el Fix warning-suppress for list type "warning type" 2024-03-31 12:06:15 +03:00