[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 76170ea5a0d: makeinfo-run-command: Use texi2any when makeinfo doe
From: |
Stefan Kangas |
Subject: |
master 76170ea5a0d: makeinfo-run-command: Use texi2any when makeinfo doesn't exist |
Date: |
Fri, 27 Dec 2024 09:05:45 -0500 (EST) |
branch: master
commit 76170ea5a0dff45d3feedf523c4c6809f1a56a59
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>
makeinfo-run-command: Use texi2any when makeinfo doesn't exist
* lisp/textmodes/makeinfo.el (makeinfo-run-command): Use texi2any when
makeinfo does't exist. (Bug#75123)
---
lisp/textmodes/makeinfo.el | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/lisp/textmodes/makeinfo.el b/lisp/textmodes/makeinfo.el
index 7e08111fddd..53555ea9af7 100644
--- a/lisp/textmodes/makeinfo.el
+++ b/lisp/textmodes/makeinfo.el
@@ -56,10 +56,14 @@
:group 'docs)
-(defcustom makeinfo-run-command "makeinfo"
+(defcustom makeinfo-run-command
+ (cond ((executable-find "makeinfo") "makeinfo")
+ ((executable-find "texi2any") "texi2any")
+ (t "makeinfo"))
"Command used to run `makeinfo' subjob.
The name of the file is appended to this string, separated by a space."
- :type 'string)
+ :type 'string
+ :version "31.1")
(defcustom makeinfo-options "--fill-column=70"
"String containing options for running `makeinfo'.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 76170ea5a0d: makeinfo-run-command: Use texi2any when makeinfo doesn't exist,
Stefan Kangas <=