emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-24 r117176: * lisp/subr.el (sit-for): Add comment wi


From: Stefan Monnier
Subject: [Emacs-diffs] emacs-24 r117176: * lisp/subr.el (sit-for): Add comment with a short history.
Date: Sat, 31 May 2014 02:13:18 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117176
revision-id: address@hidden
parent: address@hidden
committer: Stefan Monnier <address@hidden>
branch nick: emacs-24
timestamp: Fri 2014-05-30 22:13:13 -0400
message:
  * lisp/subr.el (sit-for): Add comment with a short history.
modified:
  lisp/subr.el                   subr.el-20091113204419-o5vbwnq5f7feedwu-151
=== modified file 'lisp/subr.el'
--- a/lisp/subr.el      2014-05-29 16:38:01 +0000
+++ b/lisp/subr.el      2014-05-31 02:13:13 +0000
@@ -2151,6 +2151,10 @@
 in milliseconds; this was useful when Emacs was built without
 floating point support."
   (declare (advertised-calling-convention (seconds &optional nodisp) "22.1"))
+  ;; This used to be implemented in C until the following discussion:
+  ;; http://lists.gnu.org/archive/html/emacs-devel/2006-07/msg00401.html
+  ;; Then it was moved to C using an implementation based on an idle timer,
+  ;; which was then replaced by the use of read-event.
   (if (numberp nodisp)
       (setq seconds (+ seconds (* 1e-3 nodisp))
             nodisp obsolete)


reply via email to

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