emacs/test/lisp/emacs-lisp
Stefan Monnier d52c929e31 (with-demoted-errors): Warn on missing format arg
The `format` arg has been mandatory for a while, but the backward
compatibility code that handled the case of a missing `format` arg
made it hard to notice when using the old calling convention.

* lisp/subr.el (with-demoted-errors): Warn on missing `format` arg.

* lisp/emacs-lisp/smie.el (smie-indent--separator-outdent): Don't abuse
`with-demoted-errors`.
(smie-indent-line, smie-auto-fill):
* test/lisp/emacs-lisp/ert-tests.el (ert-test-with-demoted-errors):
* lisp/vc/vc-hooks.el (vc-refresh-state):
* lisp/vc/vc-annotate.el (vc-annotate-background-mode):
* lisp/vc/diff-mode.el (diff-syntax-fontify-hunk):
* lisp/textmodes/reftex-toc.el (reftex-re-enlarge):
* lisp/progmodes/sh-script.el (sh-smie-sh-rules):
* lisp/progmodes/octave.el (inferior-octave-startup):
* lisp/pcmpl-gnu.el (pcmpl-gnu-make-all-targets):
* lisp/org/org-refile.el (org-refile):
* lisp/org/org-capture.el (org-capture-store-last-position):
* lisp/nxml/nxml-mode.el (nxml-mode):
* lisp/notifications.el (notifications-notify):
* lisp/gnus/mm-view.el (mm-display-inline-fontify):
* lisp/finder.el (finder-unload-function):
* lisp/files.el (safe-local-variable-p, backup-buffer-copy
* lisp/autorevert.el (auto-revert-notify-handler):
Pass `format` arg to `with-demoted-errors`.
2022-02-04 19:39:53 -05:00
..
bytecomp-resources Avoid false positives about wide docstrings for key sequences 2021-11-22 12:04:19 +01:00
edebug-resources ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
eieio-tests Silence byte-compiler in eieio tests 2022-01-03 05:00:11 +01:00
faceup-resources ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
faceup-tests ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
macroexp-resources ; Add 2022 to copyright years. 2022-01-01 07:07:15 -05:00
package-resources Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
pp-resources Improve pp-emacs-lisp-code for #' 2022-01-04 15:51:04 +01:00
shadow-resources
testcover-resources Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
backquote-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
backtrace-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
benchmark-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
bindat-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
bytecomp-tests.el Revert "Fix closure-conversion of shadowed captured lambda-lifted vars" 2022-01-12 20:23:09 +01:00
cconv-tests.el Revert "Fix closure-conversion of shadowed captured lambda-lifted vars" 2022-01-12 20:23:09 +01:00
check-declare-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
checkdoc-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
cl-extra-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
cl-generic-tests.el cl-generic-tests.el: Fix warning 2022-01-18 16:53:28 -05:00
cl-lib-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
cl-macs-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
cl-preloaded-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
cl-print-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
cl-seq-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
comp-cstr-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
copyright-tests.el Fix copyright-fix-years, use a dash to separate years in a range 2022-01-28 15:23:05 +01:00
derived-tests.el ; * test/lisp/emacs-lisp/derived-tests.el: Silence byte-compiler. 2022-01-26 00:44:00 +01:00
easy-mmode-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
edebug-tests.el Merge from origin/emacs-28 2022-01-14 06:30:23 +01:00
ert-tests.el (with-demoted-errors): Warn on missing format arg 2022-02-04 19:39:53 -05:00
ert-x-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
find-func-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
float-sup-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
generator-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
gv-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
hierarchy-tests.el
let-alist-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
lisp-mnt-tests.el ; Copyright year fixes 2022-01-01 10:02:17 -08:00
lisp-mode-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
lisp-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
macroexp-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
map-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
memory-report-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
multisession-tests.el ; Add 2022 to copyright years. 2022-01-01 07:07:15 -05:00
nadvice-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
package-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
pcase-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
pp-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
range-tests.el Reduce code duplication in parts of (auto)load&defalias 2022-01-28 13:19:11 -05:00
regexp-opt-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ring-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
rmc-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
rx-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
seq-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
shadow-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
shortdoc-tests.el Test that buffer exists in shortdoc-all-groups-work 2022-01-04 03:52:42 +01:00
subr-x-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
syntax-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
tabulated-list-tests.el ; Fix tabulated-list-mode tests after revert 2022-01-11 06:17:59 +01:00
testcover-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
text-property-search-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
thunk-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
timer-tests.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
unsafep-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
warnings-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00