mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
; * rcirc.el (rcirc-print): Prefer sleep-for over sit-for
Compare (benchmark-run 100000 (sit-for 0)) ;; => (2.600030102 12 1.523461324000003) with (benchmark-run 100000 (sleep-for 0)) ;; (0.015882939 0 0.0)
This commit is contained in:
parent
f262a6af36
commit
43237f3d27
1 changed files with 1 additions and 1 deletions
|
|
@ -2043,7 +2043,7 @@ connection."
|
|||
rcirc-log-process-buffers))
|
||||
(rcirc-log process sender response target text))
|
||||
|
||||
(sit-for 0) ; displayed text before hook
|
||||
(sleep-for 0) ; displayed text before hook
|
||||
(run-hook-with-args 'rcirc-print-functions
|
||||
process sender response target text)))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue