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

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

[elpa] externals-release/org 390063d 4/4: ox-html.el/inline-image export


From: ELPA Syncer
Subject: [elpa] externals-release/org 390063d 4/4: ox-html.el/inline-image export: Fix caption numbering
Date: Sat, 1 May 2021 00:57:13 -0400 (EDT)

branch: externals-release/org
commit 390063d8df565840e8a36ebf37ee1e9656879aec
Author: Pablo Barraza Cornejo <pbarrazacornejo@gmail.com>
Commit: Kyle Meyer <kyle@kyleam.com>

    ox-html.el/inline-image export: Fix caption numbering
    
    * lisp/ox-html.el (org-html-standalone-image-p): Remove quote which
    causes `org-html-standalone-image-p' to not check if
    `org-html-standalone-image-predicate' is fbound and see if it's
    initialized.
    
    TINYCHANGE
---
 lisp/ox-html.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index 5650407..9908f2b 100644
--- a/lisp/ox-html.el
+++ b/lisp/ox-html.el
@@ -3019,7 +3019,8 @@ images, set it to:
                     (`paragraph element)
                     (`link (org-export-get-parent element)))))
     (and (eq (org-element-type paragraph) 'paragraph)
-        (or (not (fboundp 'org-html-standalone-image-predicate))
+        (or (not (and (boundp 'org-html-standalone-image-predicate)
+                       (fboundp org-html-standalone-image-predicate)))
             (funcall org-html-standalone-image-predicate paragraph))
         (catch 'exit
           (let ((link-count 0))



reply via email to

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