mirror of
git://git.code.sf.net/p/sbcl/sbcl
synced 2026-09-10 07:26:40 -04:00
Don't canonicalize whitespace in Texinfo files
Almost all of them are generated. Also, fix some comments.
This commit is contained in:
parent
2c524ff00b
commit
34dda2dde1
|
|
@ -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)))
|
||||
|
|
|
|||
|
|
@ -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"))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue