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
dc64c739
Commit
dc64c739
authored
Aug 05, 1997
by
Richard M. Stallman
Browse files
(x-cut-buffer-or-selection-value): Fix previous change.
parent
ba27415c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
lisp/term/x-win.el
lisp/term/x-win.el
+12
-12
No files found.
lisp/term/x-win.el
View file @
dc64c739
...
...
@@ -592,20 +592,20 @@ This is in addition to the primary selection.")
(
condition-case
c
(
setq
text
(
x-get-selection
'PRIMARY
'COMPOUND_TEXT
))
(
error
nil
))
(
if
(
null
text
)
(
condition-case
c
(
setq
text
(
x-get-selection
'PRIMARY
'STRING
))
(
error
nil
)))
(
if
(
string=
text
""
)
(
setq
text
nil
))
(
condition-case
c
(
setq
text
(
x-get-selection
'PRIMARY
'STRING
))
(
error
nil
))
(
if
(
string=
text
""
)
(
setq
text
nil
))
(
when
x-select-enable-clipboard
(
condition-case
c
(
setq
text
(
x-get-selection
'CLIPBOARD
'COMPOUND_TEXT
))
(
error
nil
))
(
if
(
string=
text
""
)
(
setq
text
nil
))
(
condition-case
c
(
setq
text
(
x-get-selection
'CLIPBOARD
'STRING
))
(
error
nil
))
(
if
(
null
text
)
(
condition-case
c
(
setq
text
(
x-get-selection
'CLIPBOARD
'COMPOUND_TEXT
))
(
error
nil
)))
(
if
(
null
text
)
(
condition-case
c
(
setq
text
(
x-get-selection
'CLIPBOARD
'STRING
))
(
error
nil
)))
(
if
(
string=
text
""
)
(
setq
text
nil
)))
(
or
text
(
setq
text
(
x-get-cut-buffer
0
)))
...
...
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