From: Eli Zaretskii Date: Sat, 7 Jun 2014 14:29:48 +0000 (+0300) Subject: Document latest changes in make_lispy_position. X-Git-Tag: emacs-25.0.90~2612^2~709^2~752 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2be772ff45057215c1c70252008c1f9703ef3bff;p=emacs.git Document latest changes in make_lispy_position. doc/lispref/commands.texi (Click Events): Update contents of click event's position list due to last changes in make_lispy_position. etc/NEWS: Mention the incompatible change. --- diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 9099d69ab3f..fcfef71a1fe 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,8 @@ +2014-06-07 Eli Zaretskii + + * commands.texi (Click Events): Update contents of click event's + position list due to last changes in make_lispy_position. + 2014-06-02 Glenn Morris * text.texi (Buffer Contents): diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi index 721a485382e..ad1bf80a85c 100644 --- a/doc/lispref/commands.texi +++ b/doc/lispref/commands.texi @@ -1396,8 +1396,9 @@ The position in the string where the click occurred. @item @var{text-pos} For clicks on a marginal area or on a fringe, this is the buffer position of the first visible character in the corresponding line in -the window. For other events, it is the current buffer position in -the window. +the window. For clicks on the mode line or the header line, this is +@code{nil}. For other events, it is the buffer position closest to +the click. @item @var{col}, @var{row} These are the actual column and row coordinate numbers of the glyph diff --git a/etc/NEWS b/etc/NEWS index e98fb52e585..b75a8a9d053 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -132,6 +132,12 @@ active region handling. ** cl-the now asserts that its argument is of the given type. ++++ +** Mouse click events on mode line or header line no longer include +any reference to a buffer position. The 6th member of the mouse +position list returned for such events is now nil. + + * Lisp Changes in Emacs 24.5