]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_clear_frame_selections, wait_for_property_change): Use new accessor macros
authorKarl Heuer <kwzh@gnu.org>
Tue, 4 Oct 1994 12:36:03 +0000 (12:36 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 4 Oct 1994 12:36:03 +0000 (12:36 +0000)
instead of calling XSET directly.

src/xselect.c

index bf2b5c76a936a5bcc42e668805774b84096e4cd5..babd59a70ab64d37a2d96883162f443888c2e6dc 100644 (file)
@@ -767,7 +767,7 @@ x_clear_frame_selections (f)
   Lisp_Object frame;
   Lisp_Object rest;
 
-  XSET (frame, Lisp_Frame, f);
+  XSETFRAME (frame, f);
 
   /* Otherwise, we're really honest and truly being told to drop it.
      Don't use Fdelq as that may QUIT;.  */
@@ -897,7 +897,7 @@ wait_for_property_change (location)
   int count = specpdl_ptr - specpdl;
   Lisp_Object tem;
 
-  XSET (tem, Lisp_Cons, location);
+  XSETCONS (tem, location);
 
   /* Make sure to do unexpect_property_change if we quit or err.  */
   record_unwind_protect (wait_for_property_change_unwind, tem);