From e5f2d9a0b9530e33041903fdbb42e6c46db1355f Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Fri, 13 Dec 2024 16:14:45 -0500 Subject: [PATCH] * 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. (cherry picked from commit 5923d8ebef93075e053cf50e17b86d34731fe777) --- lisp/org/ox-texinfo.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lisp/org/ox-texinfo.el b/lisp/org/ox-texinfo.el index 6adee9fca3f..deceeca8947 100644 --- a/lisp/org/ox-texinfo.el +++ b/lisp/org/ox-texinfo.el @@ -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 -- 2.39.2