1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 23:10:47 -08:00
emacs/lisp/org
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
..
ChangeLog.1 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-awk.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-C.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-calc.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-clojure.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-comint.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-core.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-css.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-ditaa.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-dot.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-emacs-lisp.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-eshell.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-eval.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-exp.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-forth.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-fortran.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-gnuplot.el Update to Org 9.5.2-9-g7ba24c 2022-01-15 16:02:26 -05:00
ob-groovy.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-haskell.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-java.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-js.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-julia.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-latex.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-lilypond.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-lisp.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-lob.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-lua.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-makefile.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-matlab.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-maxima.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-ocaml.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-octave.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-org.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-perl.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-plantuml.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-processing.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-python.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-R.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-ref.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-ruby.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-sass.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-scheme.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-screen.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-sed.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-shell.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-sql.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-sqlite.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-table.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ob-tangle.el Update to Org 9.5.2-13-gdd6486 2022-01-30 20:38:01 -05:00
ob.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
oc-basic.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
oc-biblatex.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
oc-csl.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
oc-natbib.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
oc.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ol-bbdb.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ol-bibtex.el Update to Org 9.5.2-13-gdd6486 2022-01-30 20:38:01 -05:00
ol-docview.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ol-doi.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ol-eshell.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
ol-eww.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ol-gnus.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ol-info.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ol-irc.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ol-man.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
ol-mhe.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ol-rmail.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ol-w3m.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ol.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
org-agenda.el Update to Org 9.5.2-13-gdd6486 2022-01-30 20:38:01 -05:00
org-archive.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org-attach-git.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org-attach.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org-capture.el (with-demoted-errors): Warn on missing format arg 2022-02-04 19:39:53 -05:00
org-clock.el Merge from origin/emacs-28 2022-01-31 06:58:23 +01:00
org-colview.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
org-compat.el Merge from origin/emacs-28 2022-01-31 06:58:23 +01:00
org-crypt.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org-ctags.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org-datetree.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org-duration.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org-element.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org-entities.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org-faces.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org-feed.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org-footnote.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org-goto.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org-habit.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org-id.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
org-indent.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org-inlinetask.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org-install.el Use lexical-binding in two trivial org-mode files 2021-03-24 06:35:33 +01:00
org-keys.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org-lint.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org-list.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org-macro.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
org-macs.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
org-mobile.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org-mouse.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org-num.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org-pcomplete.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org-plot.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org-protocol.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org-refile.el (with-demoted-errors): Warn on missing format arg 2022-02-04 19:39:53 -05:00
org-src.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org-table.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
org-tempo.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org-timer.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org-version.el Update to Org 9.5.2-13-gdd6486 2022-01-30 20:38:01 -05:00
org.el Merge from origin/emacs-28 2022-01-16 06:51:09 +01:00
ox-ascii.el Update to Org 9.5.2-9-g7ba24c 2022-01-15 16:02:26 -05:00
ox-beamer.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ox-html.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ox-icalendar.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
ox-koma-letter.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ox-latex.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ox-man.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ox-md.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ox-odt.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ox-org.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ox-publish.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ox-texinfo.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ox.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00