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
2d246c71
Commit
2d246c71
authored
Apr 10, 2002
by
Richard M. Stallman
Browse files
(mouse-drag-region-1): Display region highlight only in the selected window.
parent
1087f3e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lisp/mouse.el
lisp/mouse.el
+2
-1
No files found.
lisp/mouse.el
View file @
2d246c71
...
...
@@ -739,7 +739,8 @@ If the click is in the echo area, display the `*Messages*' buffer."
(
setq
start-point
(
point
))
(
let
((
range
(
mouse-start-end
start-point
start-point
click-count
)))
(
move-overlay
mouse-drag-overlay
(
car
range
)
(
nth
1
range
)
(
window-buffer
start-window
)))
(
window-buffer
start-window
))
(
overlay-put
mouse-drag-overlay
'window
(
selected-window
)))
(
deactivate-mark
)
;; end-of-range is used only in the single-click case.
;; It is the place where the drag has reached so far
...
...
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