]> git.eshelyaron.com Git - emacs.git/commitdiff
* subr.el (event-start): Say what a nil EVENT value means.
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 10 Feb 2014 06:56:03 +0000 (22:56 -0800)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 10 Feb 2014 06:56:03 +0000 (22:56 -0800)
lisp/ChangeLog
lisp/subr.el

index 81d8361366fdb16917368861156aa1a91de4fedf..19c19fe77fae8a1d1d865d304b9bd635b8ff4795 100644 (file)
@@ -1,5 +1,7 @@
 2014-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
 
+       * subr.el (event-start): Say what a nil EVENT value means.
+
        * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
        (bug#14197).
 
index 1d2163267d317022006f3dba9dce77425d6d10d2..745d0b2f5727916f9a85a8027bd852de4cb8bb9b 100644 (file)
@@ -1019,7 +1019,8 @@ in the current Emacs session, then this function may return nil."
 
 (defun event-start (event)
   "Return the starting position of EVENT.
-EVENT should be a mouse click, drag, or key press event.
+EVENT should be a mouse click, drag, or key press event.  If
+EVENT is nil, the value of `posn-at-point' is used instead.
 
 The following accessor functions are used to access the elements
 of the position: