* lisp/org/ox-texinfo.el (org-texinfo-template): Fix direntry format

Apparently I was confused and `* FILE.  DESCRIPTION` is not
a valid format, so always use the longer form.
This commit is contained in:
Stefan Monnier 2024-12-13 16:14:45 -05:00
parent 69a61f721d
commit 5923d8ebef

View file

@ -826,9 +826,7 @@ holding export options."
;; `dn' is presumed to be just the DIRNAME part, so generate
;; either `* DIRNAME: (FILENAME).' or `* FILENAME.', whichever
;; is shortest.
((and dn (not (equal dn file)))
(format "* %s: (%s)." dn (or file dn)))
(t (format "* %s." file)))))
(t (format "* %s: (%s)." dn (or file dn))))))
(concat "@dircategory " dircat "\n"
"@direntry\n"
(let ((dirdesc