1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 14:30:50 -08:00
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
avl-tree.el
backquote.el
backtrace.el
benchmark.el
bindat.el
byte-opt.el
byte-run.el
bytecomp.el
cconv.el
chart.el
check-declare.el
checkdoc.el
cl-extra.el
cl-generic.el
cl-indent.el
cl-lib.el
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
cl-print.el
cl-seq.el
comp-cstr.el
comp.el * Don't install unnecessary trampolines (bug#69573) (don't merge) 2024-03-26 08:32:37 +01:00
copyright.el
crm.el
cursor-sensor.el
debug-early.el
debug.el
derived.el
disass.el
easy-mmode.el
easymenu.el
edebug.el Improve documentation of 'edebug-print-*' variables 2024-03-16 12:42:16 +02:00
eieio-base.el
eieio-core.el
eieio-custom.el
eieio-datadebug.el
eieio-opt.el
eieio-speedbar.el
eieio.el
eldoc.el
elint.el
elp.el
ert-x.el
ert.el
ewoc.el
faceup.el
find-func.el
float-sup.el
generate-lisp-file.el
generator.el
generic.el
gv.el
helper.el
hierarchy.el
icons.el
inline.el
let-alist.el
lisp-mnt.el
lisp-mode.el
lisp.el
loaddefs-gen.el
macroexp.el
map-ynp.el
map.el
memory-report.el
multisession.el
nadvice.el
oclosure.el
package-vc.el Improve directory prompt used by package-vc-checkout 2024-02-14 17:51:59 +01:00
package-x.el
package.el
pcase.el ; * lisp/emacs-lisp/pcase.el (pcase-let*, pcase-let): Another doc fix. 2024-02-20 19:15:38 +02:00
pp.el
radix-tree.el
range.el
re-builder.el
regexp-opt.el
regi.el
ring.el
rmc.el
rx.el
seq.el
shadow.el
shortdoc.el Fix 'shortdoc-copy-function-as-kill' 2024-03-16 13:07:52 +02:00
shorthands.el
smie.el
subr-x.el
syntax.el
tabulated-list.el
tcover-ses.el
testcover.el
text-property-search.el
thunk.el
timer-list.el
timer.el
tq.el
trace.el
unsafep.el
vtable.el
warnings.el Fix warning-suppress for list type "warning type" 2024-03-31 12:06:15 +03:00