]> git.eshelyaron.com Git - emacs.git/commitdiff
* mouse.el (mouse-posn-property): Add comment
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 19 Nov 2018 14:12:15 +0000 (09:12 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 19 Nov 2018 14:12:15 +0000 (09:12 -0500)
lisp/mouse.el

index ca61e36440758a4da19add25862b1d191696abaf..e25b664a93f34a075c2ac5f916cc51ff97588797 100644 (file)
@@ -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