emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/xfns.c,v


From: Kim F. Storm
Subject: [Emacs-diffs] Changes to emacs/src/xfns.c,v
Date: Fri, 25 Aug 2006 23:32:32 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Kim F. Storm <kfstorm>  06/08/25 23:32:32

Index: xfns.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/xfns.c,v
retrieving revision 1.670
retrieving revision 1.671
diff -u -b -r1.670 -r1.671
--- xfns.c      18 Jul 2006 13:30:13 -0000      1.670
+++ xfns.c      25 Aug 2006 23:32:32 -0000      1.671
@@ -3475,14 +3475,9 @@
   CHECK_STRING (color);
 
   if (x_defined_color (f, SDATA (color), &foo, 0))
-    {
-      Lisp_Object rgb[3];
-
-      rgb[0] = make_number (foo.red);
-      rgb[1] = make_number (foo.green);
-      rgb[2] = make_number (foo.blue);
-      return Flist (3, rgb);
-    }
+    return list3 (make_number (foo.red),
+                 make_number (foo.green),
+                 make_number (foo.blue));
   else
     return Qnil;
 }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]