update packages

This commit is contained in:
2026-06-27 11:34:21 +02:00
parent 4be4f859c4
commit 1aaef48596
246 changed files with 7997 additions and 4359 deletions

View File

@@ -573,12 +573,14 @@ Trim string and collapse multiple whitespace characters as they
are not significant. Replace leading left parenthesis, when
followed by a right parenthesis, with a square bracket. Remove
periods, commas and colons."
(org-trim
(replace-regexp-in-string
"[ \t]+" " "
(replace-regexp-in-string
"[:,.]" ""
(replace-regexp-in-string "\\`(\\(.*?)\\)" "[\\1" title)))))
(thread-last
title
(replace-regexp-in-string "\\`(\\(.*?)\\)" "[\\1")
;; See https://lists.gnu.org/archive/html/bug-texinfo/2026-03/msg00000.html
(replace-regexp-in-string (rx "@comma" (optional "{}")) "")
(replace-regexp-in-string "[:,.]" "")
(replace-regexp-in-string "[ \t]+" " ")
org-trim))
(defun org-texinfo--sanitize-title (title info)
"Make TITLE suitable as a section name.