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
614a773a
Commit
614a773a
authored
Oct 06, 2007
by
Juri Linkov
Browse files
(delete-selection-pre-hook): Check if mouse-region-match is fbound
to not fail on mouseless tty.
parent
28681e35
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
lisp/delsel.el
lisp/delsel.el
+1
-0
No files found.
lisp/delsel.el
View file @
614a773a
...
...
@@ -93,6 +93,7 @@ any selection."
;; That would make yank a no-op.
(
when
(
and
(
string=
(
buffer-substring-no-properties
(
point
)
(
mark
))
(
car
kill-ring
))
(
fboundp
'mouse-region-match
)
(
mouse-region-match
))
(
current-kill
1
))
(
delete-active-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