summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2014-06-07 17:29:48 +0300
committerEli Zaretskii <eliz@gnu.org>2014-06-07 17:29:48 +0300
commit2be772ff45057215c1c70252008c1f9703ef3bff (patch)
treecedd1451c67caa8080e2812f7d491ece21e42524
parent3f2f9b6aff3200f9fde3ce1750410368f03c91a7 (diff)
downloademacs-2be772ff45057215c1c70252008c1f9703ef3bff.tar.gz
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.
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/commands.texi5
-rw-r--r--etc/NEWS6
3 files changed, 14 insertions, 2 deletions
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 <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):
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