mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-03 14:10:47 -08:00
(cua-paste): Check if mouse-region-match is fbound
to not fail on mouseless tty.
This commit is contained in:
parent
614a773aa3
commit
3220ac7f5e
2 changed files with 19 additions and 0 deletions
|
|
@ -1,3 +1,21 @@
|
|||
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
|
||||
|
|
|
|||
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue