[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 05cab7a: * lisp/dired.el (dired-readin): Improve comment
From: |
Stefan Monnier |
Subject: |
master 05cab7a: * lisp/dired.el (dired-readin): Improve comment |
Date: |
Tue, 31 Mar 2020 12:11:31 -0400 (EDT) |
branch: master
commit 05cab7ad06efabae18ee94e3b609ea10ae2f60be
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>
* lisp/dired.el (dired-readin): Improve comment
---
lisp/dired.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lisp/dired.el b/lisp/dired.el
index d58c37b..62e232b 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -1226,10 +1226,10 @@ wildcards, erases the buffer, and builds the
subdir-alist anew
;; We used to bind `inhibit-modification-hooks' to try and speed up
;; execution, in particular, to prevent the font-lock hook from running
;; until the directory is all read in.
- ;; I strongly suspect that this was only useful in Emacs<21, because
- ;; jit-lock made it a non-issue.
- ;; Nevertheless, I used `combine-change-calls' which provides the
- ;; same performance advantages, just in case.
+ ;; It's not clear why font-lock would be a significant issue
+ ;; here, but I used `combine-change-calls' which should provide the
+ ;; same performance advantages without the problem of breaking
+ ;; users of after/before-change-functions.
(combine-change-calls (point-min) (point-max)
(let ((inhibit-read-only t)
;; Don't make undo entries for readin.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 05cab7a: * lisp/dired.el (dired-readin): Improve comment,
Stefan Monnier <=