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.
This commit is contained in:
parent
96f695034c
commit
3117185dba
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue