Index: modules/system/system.api.php
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.api.php,v
retrieving revision 1.222
diff -u -p -r1.222 system.api.php
--- modules/system/system.api.php	15 Dec 2010 03:39:42 -0000	1.222
+++ modules/system/system.api.php	1 Jan 2011 17:57:50 -0000
@@ -1735,7 +1735,11 @@ function hook_boot() {
  * implement this hook, but declare these files in their .info file.
  */
 function hook_init() {
-  drupal_add_css(drupal_get_path('module', 'book') . '/book.css');
+  // Since this file should only be loaded on the front page, it cannot be
+  // declared in the info file.
+  if (drupal_is_front_page()) {
+    drupal_add_css(drupal_get_path('module', 'foo') . '/foo.css');
+  }
 }
 
 /**
