1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-03 04:21:28 -08:00

(Fx_get_cut_buffer_internal): If FORMAT is 0, cut buffer is empty.

This commit is contained in:
Richard M. Stallman 1998-04-18 22:14:32 +00:00
parent daa02ea5db
commit 22e0073908

View file

@ -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,