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
22e00739
Commit
22e00739
authored
Apr 18, 1998
by
Richard M. Stallman
Browse files
(Fx_get_cut_buffer_internal): If FORMAT is 0, cut buffer is empty.
parent
daa02ea5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/xselect.c
src/xselect.c
+2
-1
No files found.
src/xselect.c
View file @
22e00739
...
...
@@ -2094,7 +2094,8 @@ DEFUN ("x-get-cut-buffer-internal", Fx_get_cut_buffer_internal,
x_get_window_property
(
display
,
window
,
buffer_atom
,
&
data
,
&
bytes
,
&
type
,
&
format
,
&
size
,
0
);
if
(
!
data
)
return
Qnil
;
if
(
!
data
||
!
format
)
return
Qnil
;
if
(
format
!=
8
||
type
!=
XA_STRING
)
Fsignal
(
Qerror
,
...
...
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