Commit ca0f86e6 authored by Stefan Monnier's avatar Stefan Monnier

* mouse.el (mouse-posn-property): Add comment

parent 450beba3
Pipeline #87 failed with stage
in 28 minutes and 52 seconds
......@@ -1114,6 +1114,10 @@ its value is returned."
(if (consp pos)
(let ((w (posn-window pos)) (pt (posn-point pos))
(str (posn-string pos)))
;; FIXME: When STR has a `category' property and there's another
;; `category' property at PT, we should probably disregard the
;; `category' property at PT while doing the (get-char-property
;; pt property w)!
(or (and str
(get-text-property (cdr str) property (car str)))
;; Mouse clicks in the fringe come with a position in
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment