[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/replace-region-contents c3932c9 1/2: Fix timing
From: |
Tassilo Horn |
Subject: |
[Emacs-diffs] scratch/replace-region-contents c3932c9 1/2: Fix timing |
Date: |
Thu, 14 Feb 2019 12:43:00 -0500 (EST) |
branch: scratch/replace-region-contents
commit c3932c9bd3ed011a103d5ac6bdcea64974a72bb1
Author: Tassilo Horn <address@hidden>
Commit: Tassilo Horn <address@hidden>
Fix timing
---
src/editfns.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/editfns.c b/src/editfns.c
index 632007d..8ec64de 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -2068,7 +2068,7 @@ Otherwise it returns nil. */)
SAFE_FREE_UNBIND_TO (count, Qnil);
gettimeofday (&tv_repl_end, NULL);
timersub (&tv_repl_end, &tv_repl_start, &tv_repl_duration);
- message ("replacement took %d.%d secs", tv_cmpseq_duration.tv_sec,
tv_repl_duration.tv_usec);
+ message ("replacement took %d.%d secs", tv_repl_duration.tv_sec,
tv_repl_duration.tv_usec);
return Qt;
}
@@ -2144,7 +2144,7 @@ Otherwise it returns nil. */)
gettimeofday (&tv_repl_end, NULL);
timersub (&tv_repl_end, &tv_repl_start, &tv_repl_duration);
- message ("replacement took %d.%d secs", tv_cmpseq_duration.tv_sec,
tv_repl_duration.tv_usec);
+ message ("replacement took %d.%d secs", tv_repl_duration.tv_sec,
tv_repl_duration.tv_usec);
return Qnil;
}