emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/htmlize 34845c5 042/134: Update comment.


From: ELPA Syncer
Subject: [nongnu] elpa/htmlize 34845c5 042/134: Update comment.
Date: Sat, 7 Aug 2021 09:17:03 -0400 (EDT)

branch: elpa/htmlize
commit 34845c5657578694cca222ae7c186010e1cb543d
Author: Hrvoje Niksic <hniksic@gmail.com>
Commit: Hrvoje Niksic <hniksic@gmail.com>

    Update comment.
---
 htmlize.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/htmlize.el b/htmlize.el
index 9403def..a85bcc0 100644
--- a/htmlize.el
+++ b/htmlize.el
@@ -1387,11 +1387,12 @@ it's called with the same value of KEY.  All other 
times, the cached
            ;; once.
            next-change text face-list fstruct-list trailing-ellipsis)
        ;; This loop traverses and reads the source buffer, appending
-       ;; the resulting HTML to HTMLBUF with `princ'.  This method is
-       ;; fast because: 1) it doesn't require examining the text
+       ;; the resulting HTML to HTMLBUF.  This method is fast
+       ;; because: 1) it doesn't require examining the text
        ;; properties char by char (htmlize-next-face-change is used
        ;; to move between runs with the same face), and 2) it doesn't
-       ;; require buffer switches, which are slow in Emacs.
+       ;; require frequent buffer switches, which are slow because
+       ;; they rebind all buffer-local vars.
        (goto-char (point-min))
        (while (not (eobp))
          (setq next-change (htmlize-next-face-change (point)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]