summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/frame.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/frame.c b/src/frame.c
index 3e84a3d81cf..c902d1a497b 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -1318,8 +1318,9 @@ upper-left corner.\n\
If Emacs is running on a mouseless terminal or hasn't been programmed\n\
to read the mouse position, it returns the selected frame for FRAME\n\
and nil for X and Y.\n\
-Runs the abnormal hook `mouse-position-function' with the normal return\n\
-value as argument.")
+If `mouse-position-function' is non-nil, `mouse-position' calls it,\n\
+passing the normal return value to that function as an argument,\n\
+and returns whatever that function returns.")
()
{
FRAME_PTR f;