projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
450beba
)
* mouse.el (mouse-posn-property): Add comment
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Mon, 19 Nov 2018 14:12:15 +0000
(09:12 -0500)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Mon, 19 Nov 2018 14:12:15 +0000
(09:12 -0500)
lisp/mouse.el
patch
|
blob
|
history
diff --git
a/lisp/mouse.el
b/lisp/mouse.el
index ca61e36440758a4da19add25862b1d191696abaf..e25b664a93f34a075c2ac5f916cc51ff97588797 100644
(file)
--- a/
lisp/mouse.el
+++ b/
lisp/mouse.el
@@
-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