branch: elpa/htmlize commit 84dbfeaebbb15017d03d5d8e49e0c153e0d60cbe Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
Use ?\s as syntax for the space character --- htmlize.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htmlize.el b/htmlize.el index 18d81bd373..96f2eb86ff 100644 --- a/htmlize.el +++ b/htmlize.el @@ -709,10 +709,10 @@ list." (defconst htmlize-tab-spaces ;; A table of strings with spaces. (aref htmlize-tab-spaces 5) is - ;; like (make-string 5 ?\ ), except it doesn't cons. + ;; like (make-string 5 ?\s), except it doesn't cons. (let ((v (make-vector 32 nil))) (dotimes (i (length v)) - (setf (aref v i) (make-string i ?\ ))) + (setf (aref v i) (make-string i ?\s))) v)) (defun htmlize-untabify-string (text start-column)