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
3220ac7f
Commit
3220ac7f
authored
Oct 06, 2007
by
Juri Linkov
Browse files
(cua-paste): Check if mouse-region-match is fbound
to not fail on mouseless tty.
parent
614a773a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
lisp/ChangeLog
lisp/ChangeLog
+18
-0
lisp/emulation/cua-base.el
lisp/emulation/cua-base.el
+1
-0
No files found.
lisp/ChangeLog
View file @
3220ac7f
2007-10-06 Juri Linkov <juri@jurta.org>
* textmodes/fill.el (fill-paragraph-or-region): New function.
* bindings.el (esc-map): Bind M-q to fill-paragraph-or-region
instead of fill-paragraph.
* tutorial.el (tutorial--default-keys): Replace fill-paragraph
with fill-paragraph-or-region. Suspend command is now the same
`suspend-frame' on window systems and on tty.
* image.el (image-type): Check if image-types is bound to not fail
on tty.
* delsel.el (delete-selection-pre-hook):
* emulation/cua-base.el (cua-paste): Check if mouse-region-match
is fbound to not fail on mouseless tty.
2007-10-06 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (top): Move loading of tramp-util.el and
...
...
lisp/emulation/cua-base.el
View file @
3220ac7f
...
...
@@ -911,6 +911,7 @@ If global mark is active, copy from register or one character."
;; That would make yank a no-op.
(
if
(
and
(
string=
(
filter-buffer-substring
(
point
)
(
mark
))
(
car
kill-ring
))
(
fboundp
'mouse-region-match
)
(
mouse-region-match
))
(
current-kill
1
))
(
cua-delete-region
)))
...
...
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