bfa4f9d5aa3e5c94974cae7a459cb5e5b4b15f52 — Ihor Radchenko 15 days ago ad1aff1
* lisp/ox-latex.el: Document some undocumented function arguments

(org-latex--remove-packages): Document INFO argument.
1 files changed, 4 insertions(+), 2 deletions(-)

M lisp/ox-latex.el
M lisp/ox-latex.el => lisp/ox-latex.el +4 -2
@@ 1309,8 1309,8 @@ used.  When nil, no theme is applied."
(defun org-latex-generate-engraved-preamble (info)
  "Generate the preamble to setup engraved code.
The result is constructed from the :latex-engraved-preamble and
:latex-engraved-options export options, the default values of
which are given by `org-latex-engraved-preamble' and
:latex-engraved-options export options (passed via INFO plist), the
default values of which are given by `org-latex-engraved-preamble' and
`org-latex-engraved-options' respectively."
  (let* ((engraved-options
          (plist-get info :latex-engraved-options))

@@ 1782,6 1782,8 @@ and `org-latex-default-packages-alist'.  If the fourth argument
of a package is neither nil nor a member of the LaTeX compiler
associated to the document, the package is removed.

LaTeX compiler is defined in :latex-compiler INFO plist entry.

Return new list of packages."
  (let ((compiler (or (plist-get info :latex-compiler) "")))
    (if (not (member-ignore-case compiler org-latex-compilers)) pkg-alist