emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org bfa4f9d5aa 2/2: * lisp/ox-latex.el: Document some u


From: ELPA Syncer
Subject: [elpa] externals/org bfa4f9d5aa 2/2: * lisp/ox-latex.el: Document some undocumented function arguments
Date: Sat, 18 Nov 2023 06:58:24 -0500 (EST)

branch: externals/org
commit bfa4f9d5aa3e5c94974cae7a459cb5e5b4b15f52
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    * lisp/ox-latex.el: Document some undocumented function arguments
    
    (org-latex-generate-engraved-preamble):
    (org-latex--remove-packages): Document INFO argument.
---
 lisp/ox-latex.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el
index 715ad9fd7a..604c2a5357 100644
--- a/lisp/ox-latex.el
+++ b/lisp/ox-latex.el
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]