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
de655540
Commit
de655540
authored
Aug 07, 2012
by
Chong Yidong
Browse files
Backport 2012-06-23T12:48:24Z!cyd@gnu.org from trunk
parent
5a4c42ba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/mouse.el
lisp/mouse.el
+9
-4
No files found.
lisp/ChangeLog
View file @
de655540
2012-08-07 Chong Yidong <cyd@gnu.org>
* mouse.el (mouse-drag-track): Deactivate the mark before popping.
2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
* progmodes/cperl-mode.el (cperl-mode): Yet another fix for
...
...
lisp/mouse.el
View file @
de655540
...
...
@@ -885,10 +885,15 @@ DO-MOUSE-DRAG-REGION-POST-PROCESS should only be used by
(
copy-region-as-kill
(
mark
)
(
point
)))))
;; Otherwise, run binding of terminating up-event.
(
cond
(
do-multi-click
(
goto-char
start-point
))
(
moved-off-start
(
deactivate-mark
))
(
t
(
pop-mark
)))
(
setq
foo
(
list
(
window-buffer
(
selected-window
))
(
current-buffer
)))
(
if
do-multi-click
(
goto-char
start-point
)
(
deactivate-mark
)
(
unless
moved-off-start
(
pop-mark
)))
(
when
(
and
(
functionp
fun
)
(
=
start-hscroll
(
window-hscroll
start-window
))
;; Don't run the up-event handler if the window
...
...
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