bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#40332: 28.0.50; dired-readin binds inhibit-modification-hooks


From: Stefan Monnier
Subject: bug#40332: 28.0.50; dired-readin binds inhibit-modification-hooks
Date: Tue, 31 Mar 2020 11:13:27 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>> +      ;; 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.
>
> FWIW, according to "git log", the change which introduced
> inhibit-modification-hooks was made by RMS in Dec 2008, so it's
> unlikely that had anything to do with Emacs before v21.  Maybe we
> should augment that part of the comment?

Sounds right, yes,


        Stefan






reply via email to

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