Function: event-end

event-end is a byte-compiled function defined in subr.el.gz.

Signature

(event-end EVENT)

Documentation

Return the ending position of EVENT.

EVENT should be a click, drag, or key press event.

See event-start for a description of the value returned.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/subr.el.gz
(defun event-end (event)
  "Return the ending position of EVENT.
EVENT should be a click, drag, or key press event.

See `event-start' for a description of the value returned."
  (or (and (consp event) (nth (if (consp (nth 2 event)) 2 1) event))
      (event--posn-at-point)))