Don't canonicalize whitespace in Texinfo files

Almost all of them are generated.

Also, fix some comments.
This commit is contained in:
Gabor Melis 2026-07-01 14:44:24 +02:00
parent 2c524ff00b
commit 34dda2dde1
2 changed files with 5 additions and 5 deletions

View file

@ -425,8 +425,8 @@
;;;; Processing Markdown inline elements
;;; Format symbols either as Texinfo code or as variables if the
;;; symbol in question is contained in symbols *TEXINFO-LOCAL-VARIABLES*.
;;; Format symbols either as Texinfo @code{}, link sections, and
;;; handle concepts.
(defun codify-and-link (line)
(with-output-to-string (result)
(let ((last 0))
@ -529,12 +529,12 @@
(out-escaped (char string i))
(incf i)
;; Protect the rest of the contiguous word from
;; CODIFY-AND-LINK up until
;; CODIFY-AND-LINK.
(loop
while (and (< i len)
(not (or (whitespacep (char string i))
(find (char string i)
" ,.!?;()'[]{}\""))))
",.!?;()'[]{}\""))))
do (out-escaped (char string i))
(incf i))
(decf i)))

View file

@ -87,7 +87,7 @@
(print file)
(write-sequence new stream)))))
(defvar *source-types* '("lisp" "lisp-expr" "c" "h" "asd" "texinfo"))
(defvar *source-types* '("lisp" "lisp-expr" "c" "h" "asd"))
(defvar *exceptions* '("compile-file-pos-utf16be"))