]> git.eshelyaron.com Git - emacs.git/commitdiff
Document latest changes in make_lispy_position.
authorEli Zaretskii <eliz@gnu.org>
Sat, 7 Jun 2014 14:29:48 +0000 (17:29 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 7 Jun 2014 14:29:48 +0000 (17:29 +0300)
 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.

doc/lispref/ChangeLog
doc/lispref/commands.texi
etc/NEWS

index 9099d69ab3f939190c69062b3049fff1de013301..fcfef71a1fe6b4aa8e130a90b0a879218263e339 100644 (file)
@@ -1,3 +1,8 @@
+2014-06-07  Eli Zaretskii  <eliz@gnu.org>
+
+       * 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  <rgm@gnu.org>
 
        * text.texi (Buffer Contents):
index 721a485382eb354e5dc149e4853414c7ca05546c..ad1bf80a85c9d7966ad841ee03cfe486799d76ec 100644 (file)
@@ -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
index e98fb52e585958860bb80358b5c93b55387a253b..b75a8a9d0531ae11c28939a0a1ec4f06541a94c5 100644 (file)
--- 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.
+
+
 \f
 * Lisp Changes in Emacs 24.5