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

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

[elpa] externals-release/org db34a7d837 1/2: * lisp/ox-html.el (org-html


From: ELPA Syncer
Subject: [elpa] externals-release/org db34a7d837 1/2: * lisp/ox-html.el (org-html-link): Fix call to `org-export-get-ordinal'
Date: Wed, 21 Dec 2022 07:57:56 -0500 (EST)

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

    * lisp/ox-html.el (org-html-link): Fix call to `org-export-get-ordinal'
    
    Pass list of type symbols as third argument following the docstring
    spec.
    
    Reported-by: Brian Powell <powellb@hawaii.edu>
    Link: https://orgmode.org/list/m2tu1s458q.fsf@hawaii.edu
---
 lisp/ox-html.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index 86b10cbf78..19cdf4c5a2 100644
--- a/lisp/ox-html.el
+++ b/lisp/ox-html.el
@@ -3337,7 +3337,7 @@ INFO is a plist holding contextual information.  See
                      ((org-html-standalone-image-p destination info)
                       (org-export-get-ordinal
                        (org-element-map destination 'link #'identity info t)
-                       info 'link 'org-html-standalone-image-p))
+                       info '(link) 'org-html-standalone-image-p))
                      (t (org-export-get-ordinal
                          destination info nil counter-predicate))))
                     (desc



reply via email to

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