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
10608c8c
Commit
10608c8c
authored
Jun 04, 1993
by
Richard M. Stallman
Browse files
(Fx_store_cut_buffer_internal): Handle empty string right.
parent
92c995de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/xselect.c
src/xselect.c
+6
-0
No files found.
src/xselect.c
View file @
10608c8c
...
...
@@ -1795,6 +1795,12 @@ DEFUN ("x-store-cut-buffer-internal", Fx_store_cut_buffer_internal,
if
(
!
cut_buffers_initialized
)
initialize_cut_buffers
(
display
,
window
);
BLOCK_INPUT
;
/* Don't mess up with an empty value. */
if
(
!
bytes_remaining
)
XChangeProperty
(
display
,
window
,
buffer_atom
,
XA_STRING
,
8
,
PropModeReplace
,
data
,
0
);
while
(
bytes_remaining
)
{
int
chunk
=
(
bytes_remaining
<
max_bytes
...
...
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