From: Lars Ingebrigtsen Date: Mon, 2 May 2016 22:08:31 +0000 (+0200) Subject: posnp doc clarification X-Git-Tag: emacs-25.0.94~45 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8544b98;p=emacs.git posnp doc clarification * lisp/subr.el (posnp): Mention that a posn object is returned from `event-start' (bug#18211). --- diff --git a/lisp/subr.el b/lisp/subr.el index 3f5d6e427e9..0f021701e9f 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -1117,6 +1117,7 @@ The return value is a positive integer." (defun posnp (obj) "Return non-nil if OBJ appears to be a valid `posn' object specifying a window. +A `posn' object is returned from functions such as `event-start'. If OBJ is a valid `posn' object, but specifies a frame rather than a window, return nil." ;; FIXME: Correct the behavior of this function so that all valid