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

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

[elpa] externals-release/org 3117185dba: org-texinfo-supports-math-p: Fi


From: ELPA Syncer
Subject: [elpa] externals-release/org 3117185dba: org-texinfo-supports-math-p: Fix incompatibility with Emacs 27
Date: Sat, 12 Oct 2024 09:58:47 -0400 (EDT)

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

    org-texinfo-supports-math-p: Fix incompatibility with Emacs 27
    
    * lisp/ox-texinfo.el (org-texinfo-supports-math-p): Avoid using
    `file-name-with-extension', which is not yet available in Emacs 27.
---
 lisp/ox-texinfo.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/ox-texinfo.el b/lisp/ox-texinfo.el
index b11808ed5d..30f0ca8549 100644
--- a/lisp/ox-texinfo.el
+++ b/lisp/ox-texinfo.el
@@ -2039,8 +2039,7 @@ Once computed, the results remain cached."
           (let ((math-example "1 + 1 = 2"))
             (let* ((input-file (make-temp-file "test" nil ".texi"))
                    (output-file
-                    (file-name-with-extension
-                     (file-name-sans-extension input-file) "info"))
+                    (concat (file-name-sans-extension input-file) ".info"))
                    (input-content (string-join
                                    (list (format "@setfilename %s" output-file)
                                          "@node Top"



reply via email to

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