]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix info/DIR generation broken by update to Org manual
authorEli Zaretskii <eliz@gnu.org>
Wed, 12 Jun 2024 08:46:36 +0000 (11:46 +0300)
committerEshel Yaron <me@eshelyaron.com>
Wed, 12 Jun 2024 09:29:38 +0000 (11:29 +0200)
* build-aux/make-info-dir: Adapt to latest changes in Org manual's
markup.

(cherry picked from commit eb5aafb0f4cf7d2f5f12e2eb3a4324c3d5834db7)

build-aux/make-info-dir

index 214757bb65ba313aa5e0206db0e91571bac7f378..38b4d70caee165832c72812d692809e65dab33ea 100755 (executable)
@@ -86,7 +86,7 @@ exec "${AWK-awk}" '
       for (dircat = 0; dircat < ntopics && topic[dircat] != $0; dircat++)
         continue;
     }
-    if (tolower($0) ~ /^#\+texinfo_dir_title/) {
+    if (tolower($0) ~ /^#\+(texinfo_dir_title|texinfo_dir_name)/) {
       sub(/^#[^:]*: /, "")
       ## Note this does not fill any long descriptions.
       data[dircat] = data[dircat] sprintf("* %-30s", ($0 ". "))