Correlations and local-density approximation