On differentials in locally convex spaces