diff options
| -rw-r--r-- | lisp/dired.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/dired.el b/lisp/dired.el index d58c37be2f9..62e232b79fd 100644 --- a/lisp/dired.el +++ b/lisp/dired.el | |||
| @@ -1226,10 +1226,10 @@ wildcards, erases the buffer, and builds the subdir-alist anew | |||
| 1226 | ;; We used to bind `inhibit-modification-hooks' to try and speed up | 1226 | ;; We used to bind `inhibit-modification-hooks' to try and speed up |
| 1227 | ;; execution, in particular, to prevent the font-lock hook from running | 1227 | ;; execution, in particular, to prevent the font-lock hook from running |
| 1228 | ;; until the directory is all read in. | 1228 | ;; until the directory is all read in. |
| 1229 | ;; I strongly suspect that this was only useful in Emacs<21, because | 1229 | ;; It's not clear why font-lock would be a significant issue |
| 1230 | ;; jit-lock made it a non-issue. | 1230 | ;; here, but I used `combine-change-calls' which should provide the |
| 1231 | ;; Nevertheless, I used `combine-change-calls' which provides the | 1231 | ;; same performance advantages without the problem of breaking |
| 1232 | ;; same performance advantages, just in case. | 1232 | ;; users of after/before-change-functions. |
| 1233 | (combine-change-calls (point-min) (point-max) | 1233 | (combine-change-calls (point-min) (point-max) |
| 1234 | (let ((inhibit-read-only t) | 1234 | (let ((inhibit-read-only t) |
| 1235 | ;; Don't make undo entries for readin. | 1235 | ;; Don't make undo entries for readin. |