1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-28 07:44:49 +00:00
org-mode/lisp
Stefan Monnier 8abdbbee39 macro: Improve speed for `eval' macros
* lisp/org-macro.el (org-macro--makeargs): New function.
(org-macro--set-templates): New function.
(org-macro--set-template): Remove function.
(org-macro-initialize-templates): Add optional argument to
signature. Add macro definitions as functions.
(org-macro-expand): Allow functions as macro definitions.
(org-macro--counter-increment): Handle nil argument.
* lisp/ox.el (org-export-as): Apply signature change for
`org-initialize-templates'.

The main difference with the previous behaviour is that missing
arguments are now treated as nil instead of the empty string.

See <http://lists.gnu.org/r/emacs-orgmode/2021-04/msg00219.html>.
2021-04-16 16:37:22 +02:00
..
Makefile Move link-related core functions out of "org.el" 2019-03-10 18:00:27 +01:00
ob-abc.el Merge branch 'maint' 2021-01-01 15:02:10 -05:00
ob-asymptote.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ob-awk.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ob-C.el ob-C.el: Fix missing C, C++ declaration 2021-01-14 21:20:00 +01:00
ob-calc.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ob-clojure.el Backport commit 8b07994e2 from Emacs 2021-03-25 00:56:53 -04:00
ob-comint.el Backport commit f8dbefbaa from Emacs 2021-02-14 17:38:07 -05:00
ob-coq.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ob-core.el Merge branch 'km/from-emacs-master' 2021-02-14 18:06:23 -05:00
ob-css.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ob-ditaa.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ob-dot.el Prefer HTTPS to HTTP in most links 2021-03-21 15:21:22 -04:00
ob-ebnf.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ob-emacs-lisp.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ob-eshell.el Merge branch 'maint' 2021-01-01 15:02:10 -05:00
ob-eval.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ob-exp.el ob-exp: Do not comma-escape inline source code 2021-04-13 09:55:29 +02:00
ob-forth.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ob-fortran.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ob-gnuplot.el Prefer HTTPS to HTTP in most links 2021-03-21 15:21:22 -04:00
ob-groovy.el Merge branch 'maint' 2021-01-01 15:02:10 -05:00
ob-haskell.el Prefer HTTPS to HTTP in most links 2021-03-21 15:21:22 -04:00
ob-hledger.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ob-io.el Prefer HTTPS to HTTP in most links 2021-03-21 15:21:22 -04:00
ob-J.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ob-java.el ob-java: Fix previous commit 2021-02-14 15:42:18 -05:00
ob-js.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ob-latex.el Shorten remaining over-wide docstrings 2021-02-23 23:35:57 -05:00
ob-ledger.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ob-lilypond.el Prefer HTTPS to HTTP in most links 2021-03-21 15:21:22 -04:00
ob-lisp.el Prefer HTTPS to HTTP in most links 2021-03-21 15:21:22 -04:00
ob-lob.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ob-lua.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ob-makefile.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ob-matlab.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ob-maxima.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ob-mscgen.el Prefer HTTPS to HTTP in most links 2021-03-21 15:21:22 -04:00
ob-ocaml.el ob-ocaml: Update stale tuareg-mode link in commentary 2021-03-29 00:33:49 -04:00
ob-octave.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ob-org.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ob-perl.el Merge branch 'maint' 2021-01-01 15:02:10 -05:00
ob-picolisp.el Prefer HTTPS to HTTP in most links 2021-03-21 15:21:22 -04:00
ob-plantuml.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ob-processing.el Prefer HTTPS to HTTP in most links 2021-03-21 15:21:22 -04:00
ob-python.el Merge branch 'maint' 2021-01-01 15:02:10 -05:00
ob-R.el Merge branch 'km/from-emacs-master' 2021-02-14 18:06:23 -05:00
ob-ref.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ob-ruby.el Prefer HTTPS to HTTP in most links 2021-03-21 15:21:22 -04:00
ob-sass.el Prefer HTTPS to HTTP in most links 2021-03-21 15:21:22 -04:00
ob-scheme.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ob-screen.el Merge branch 'maint' 2021-01-01 15:02:10 -05:00
ob-sed.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ob-shell.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ob-shen.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ob-sql.el ob-sql.el: Add support for SAP HANA 2021-03-16 23:53:09 -04:00
ob-sqlite.el Reduce code duplication in ob-sqlite.el and ob-sql.el 2021-03-09 00:43:43 -05:00
ob-stan.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ob-table.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ob-tangle.el Merge branch 'maint' 2021-04-10 00:03:31 +02:00
ob-vala.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ob.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ol-bbdb.el Backport commit dd662fc97 from Emacs 2021-02-14 17:38:07 -05:00
ol-bibtex.el Prefer HTTPS to HTTP in most links 2021-03-21 15:21:22 -04:00
ol-docview.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ol-eshell.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ol-eww.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ol-gnus.el Backport commit 7d0dc3183 from Emacs 2021-03-14 17:54:17 -04:00
ol-info.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ol-irc.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ol-mhe.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ol-rmail.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ol-w3m.el Backport commit ce35760b1 from Emacs 2021-02-14 17:38:07 -05:00
ol.el Merge branch 'km/from-emacs-master' 2021-03-14 22:07:30 -04:00
org-agenda.el org-agenda.el: Rename org-agenda-format-item parameters 2021-03-29 23:09:38 -04:00
org-archive.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
org-attach-git.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
org-attach.el Merge branch 'km/from-emacs-master' 2021-02-14 18:06:23 -05:00
org-capture.el Merge branch 'maint' 2021-02-02 00:26:43 -05:00
org-clock.el Merge branch 'km/from-emacs-master' 2021-03-14 22:07:30 -04:00
org-colview.el colview: Ignore operators associated to special properties 2021-04-09 23:41:32 +02:00
org-compat.el org-compat.el (org-mode-flyspell-verify): Do not check code in headline 2021-03-14 22:50:53 -04:00
org-crypt.el Backport commit 7d0dc3183 from Emacs 2021-03-14 17:54:17 -04:00
org-ctags.el Backport commit 64d97212f from Emacs 2021-02-14 17:38:07 -05:00
org-datetree.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
org-duration.el duration: Avoid recursive load error 2021-01-04 00:30:00 -05:00
org-element.el Merge branch 'maint' 2021-04-13 09:56:16 +02:00
org-entities.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
org-faces.el Merge branch 'maint' 2021-01-01 15:02:10 -05:00
org-feed.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
org-footnote.el footnote: Silence byte-compiler under 'make single' 2021-02-03 23:07:33 -05:00
org-goto.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
org-habit.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
org-id.el Avoid alist-get for compatibility with Emacs 24 2021-02-07 20:05:51 -05:00
org-indent.el Backport commit 5ab5c3898 from Emacs 2021-02-14 17:38:07 -05:00
org-inlinetask.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
org-install.el Use lexical-binding cookie in some trivial files 2021-01-24 22:36:30 -05:00
org-keys.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
org-lint.el Merge branch 'maint' 2021-04-09 22:49:54 +02:00
org-list.el Merge branch 'maint' 2021-01-01 15:02:10 -05:00
org-macro.el macro: Improve speed for `eval' macros 2021-04-16 16:37:22 +02:00
org-macs.el Merge branch 'km/from-emacs-master' 2021-03-27 02:20:45 -04:00
org-mobile.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
org-mouse.el Remove redundant #' around lambdas 2021-03-30 23:54:22 -04:00
org-num.el * lisp/org-agenda.el: Use lexical-binding 2021-03-09 22:56:33 -05:00
org-pcomplete.el Backport commit f8dbefbaa from Emacs 2021-02-14 17:38:07 -05:00
org-plot.el Shorten remaining over-wide docstrings 2021-02-23 23:35:57 -05:00
org-protocol.el Merge branch 'maint' 2021-03-29 00:34:15 -04:00
org-refile.el Merge branch 'km/from-emacs-master' 2021-02-14 18:06:23 -05:00
org-src.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
org-table.el Prefer HTTPS to HTTP in most links 2021-03-21 15:21:22 -04:00
org-tempo.el Backport commit a0854f939 from Emacs 2021-03-14 17:57:07 -04:00
org-timer.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
org.el Merge branch 'maint' 2021-04-05 23:49:21 -04:00
ox-ascii.el Merge branch 'maint' 2021-01-01 15:02:10 -05:00
ox-beamer.el Remove redundant #' around lambdas 2021-03-30 23:54:22 -04:00
ox-html.el Merge branch 'maint' 2021-03-25 00:53:11 -04:00
ox-icalendar.el ox-calendar: Require Org Agenda 2021-02-20 10:41:02 +01:00
ox-latex.el Merge branch 'maint' 2021-04-06 13:50:46 +02:00
ox-man.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ox-md.el ox-md.el: Preserve radio target hyperlink 2021-01-22 00:05:47 -05:00
ox-odt.el Merge branch 'km/from-emacs-master' 2021-03-14 22:07:30 -04:00
ox-org.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ox-publish.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
ox-texinfo.el Merge branch 'maint' 2021-04-13 00:37:16 +02:00
ox.el macro: Improve speed for `eval' macros 2021-04-16 16:37:22 +02:00