]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve documentation of `posn-timestamp'
authorPo Lu <luangruo@yahoo.com>
Sat, 16 Jul 2022 13:02:47 +0000 (21:02 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 16 Jul 2022 13:03:06 +0000 (21:03 +0800)
* doc/lispref/commands.texi (Accessing Mouse): Improve
documentation of `posn-timestamp' by actually describing the
timestamp it returns.

doc/lispref/commands.texi

index e37f6002430a31ac1ad41e05172755cc82e6b9bf..a8ce294ad9aaf4e44d9433d833098aae35871685 100644 (file)
@@ -2701,7 +2701,10 @@ the character at that position.
 @cindex timestamp of a mouse event
 @defun posn-timestamp position
 Return the timestamp in @var{position}.  This is the time at which the
-event occurred, in milliseconds.
+event occurred, in milliseconds.  Such a timestamp is reported
+relative to an arbitrary starting time that varies according to the
+window system in use.  On the X Window System, for example, it is the
+number of miliseconds since the X server was started.
 @end defun
 
   These functions compute a position list given particular buffer