Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
3a73c34c
Commit
3a73c34c
authored
May 31, 2014
by
Stefan Monnier
Browse files
* lisp/mouse.el (mouse-posn-property): Ignore posn-point for mode-line
clicks. Fixes: debbugs:17633
parent
5d335d4b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
lisp/ChangeLog
lisp/ChangeLog
+3
-0
lisp/mouse.el
lisp/mouse.el
+4
-1
No files found.
lisp/ChangeLog
View file @
3a73c34c
2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
* mouse.el (mouse-posn-property): Ignore posn-point for mode-line
clicks (bug#17633).
* leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
for the single comma, since ", " is *very* common in normal French text
(bug#17643).
...
...
lisp/mouse.el
View file @
3a73c34c
...
...
@@ -658,7 +658,10 @@ its value is returned."
(
str
(
posn-string
pos
)))
(
or
(
and
str
(
get-text-property
(
cdr
str
)
property
(
car
str
)))
(
and
pt
;; FIXME: mouse clicks on the mode-line come with a position in
;; (nth 5). Maybe we should change the C code instead so that
;; mouse-clicks don't include a position there!
(
and
pt
(
not
(
memq
(
posn-area
pos
)
'
(
mode-line
header-line
)))
(
get-char-property
pt
property
w
))))
(
get-char-property
pos
property
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment