Choose either excerpt or the_content

You can try this.

<?php 
      if ( is_single() )
              the_content();
      else
              custom_excerpt('custom_index'); 
    ?>

in your post loop.It prints content if the post is single.php page otherwise custom_excerpt() data.