]> git.eshelyaron.com Git - emacs.git/commitdiff
* font.c (font_get_spec): Remove; unused.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 16 Mar 2011 08:22:49 +0000 (01:22 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 16 Mar 2011 08:22:49 +0000 (01:22 -0700)
src/ChangeLog
src/font.c

index 63e23749374a1b132f0590b559c8809f2a5a332f..1b707c4b463278c4978406a4bf60e928b74920e7 100644 (file)
@@ -4,6 +4,7 @@
        pointers to constants.
        (font_parse_fcname): Remove unused vars.
        (font_delete_unmatched): Now static.
+       (font_get_spec): Remove; unused.
 
        * fns.c (require_nesting_list, require_unwind): Now static.
        (Ffillarray): Rename locals to avoid shadowing.
index 25e2968df7f0466d66fe11942ac93b379cbbe867..ed3b3aeefc5b0b3ac73c0a1d04bbce1f9675c834 100644 (file)
@@ -2949,22 +2949,6 @@ font_get_name (Lisp_Object font_object)
 }
 
 
-/* Return the specification of FONT_OBJECT.  */
-
-Lisp_Object
-font_get_spec (Lisp_Object font_object)
-{
-  Lisp_Object spec = font_make_spec ();
-  int i;
-
-  for (i = 0; i < FONT_SIZE_INDEX; i++)
-    ASET (spec, i, AREF (font_object, i));
-  ASET (spec, FONT_SIZE_INDEX,
-       make_number (XFONT_OBJECT (font_object)->pixel_size));
-  return spec;
-}
-
-
 /* Create a new font spec from FONT_NAME, and return it.  If FONT_NAME
    could not be parsed by font_parse_name, return Qnil.  */