1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 02:31:03 -08:00
emacs/lisp/progmodes
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
..
antlr-mode.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
asm-mode.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
autoconf.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
bat-mode.el Add setx highlighting to bat-mode 2022-01-27 17:12:11 +01:00
bug-reference.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
cc-align.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
cc-awk.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
cc-bytecomp.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
cc-cmds.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
cc-defs.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
cc-engine.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
cc-fonts.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
cc-guess.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
cc-langs.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
cc-menus.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
cc-mode.el * lisp/progmodes/cc-mode.el (c-common-init): Bind case-fold-search to nil 2022-01-31 17:44:59 +00:00
cc-styles.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
cc-vars.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
cfengine.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
cl-font-lock.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
cmacexp.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
compile.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
cperl-mode.el ; cperl-mode.el: Detect prototypes in anonymous subroutines 2022-02-02 22:42:05 +01:00
cpp.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
cwarn.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
dcl-mode.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ebnf-abn.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ebnf-bnf.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ebnf-dtd.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ebnf-ebx.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ebnf-iso.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ebnf-otz.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ebnf-yac.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ebnf2ps.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ebrowse.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
elisp-mode.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
erts-mode.el ; Add 2022 to copyright years. 2022-01-01 07:07:15 -05:00
etags.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
executable.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
f90.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
flymake-cc.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
flymake-proc.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
flymake.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
fortran.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
gdb-mi.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
glasses.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
grep.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
gud.el Don't loop so much in gud-query-cmdline on remote systems 2022-01-24 14:57:17 +01:00
hideif.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
hideshow.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
icon.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
idlw-complete-structtag.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
idlw-help.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
idlw-shell.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
idlw-toolbar.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
idlwave.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
inf-lisp.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
js.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
ld-script.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
m4-mode.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
make-mode.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
meta-mode.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
mixal-mode.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
modula2.el
octave.el (with-demoted-errors): Warn on missing format arg 2022-02-04 19:39:53 -05:00
opascal.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
pascal.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
perl-mode.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
prog-mode.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
project.el * lisp/replace.el (query-replace-read-from-default): New variable. 2022-02-01 22:08:22 +02:00
prolog.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
ps-mode.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
python.el python.el: Silence left over warning in last commit 2022-02-04 13:39:19 -05:00
ruby-mode.el ruby-toggle-block-space-before-parameters: New user option 2022-01-21 04:59:39 +02:00
scheme.el Improve scheme-imenu-generic-expression 2022-01-23 14:12:34 +01:00
sh-script.el (with-demoted-errors): Warn on missing format arg 2022-02-04 19:39:53 -05:00
simula.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
sql.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
subword.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
tcl.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
vera-mode.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
verilog-mode.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
vhdl-mode.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
which-func.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
xref.el * lisp/replace.el (query-replace-read-from-default): New variable. 2022-02-01 22:08:22 +02:00
xscheme.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00