Use options instead of hard-coded variables
commit0540dccaddfc7e6464fe984402f06b082d59314c
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 28 Jul 2014 13:44:56 +0000 (28 15:44 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 29 Jul 2014 13:45:18 +0000 (29 15:45 +0200)
tree54ef69bf0c0201da559b403c91cc3a5307fb4fa6
parentfd448cb1e28727aa845b50350d755bf4b14322ed
Use options instead of hard-coded variables

* lisp/ox-beamer.el (org-beamer--format-frame,
  org-beamer--format-block, org-beamer-template): Use options instead
  of hard-coded variables.

* lisp/ox-man.el (org-man-inline-src-block, org-man-src-block,
  org-man-table, org-man-table-cell): Use options instead of
  hard-coded variables.

* lisp/ox-md.el (org-md-headline): Use options instead of hard-coded
  variables.

* lisp/ox-texinfo.el (org-texinfo-format-headline-function,
  org-texinfo-format-inlinetask-function): Change default value.
(org-texinfo--text-markup, org-texinfo--format-menu): Change signature
(org-texinfo--build-menu, org-texinfo-bold, org-texinfo-code,
org-texinfo-comment, org-texinfo-italic, org-texinfo-verbatim): Apply
signature change.

(org-texinfo-template, org-texinfo-clock, org-texinfo-drawer,
org-texinfo-link, org-texinfo-plain-list, org-texinfo-planning,
org-texinfo-table, org-texinfo-table-cell, org-texinfo-timestamp): Use
options instead of variable names.

(org-texinfo-format-headline-default-function,
org-texinfo-format-inlinetask-default-function): New functions.
(org-texinfo-headline, org-texinfo-inlinetask): Use new functions.
lisp/ox-beamer.el
lisp/ox-man.el
lisp/ox-md.el
lisp/ox-texinfo.el