The chaotic spike train of a homoclinic dynamical system is self-synchronized by applying a time-delayed correction proportional to the laser output intensity. Due to the sensitive nature of the homoclinic chaos to external perturbations, stabilization of very long-periodic orbits is possible. On these orbits, the dynamics appears chaotic over a finite time, but then it repeats with a recurrence time that is slightly longer than the delay time. The effect, called delayed self-synchronization, displays analogies with neurodynamic events that occur in the buildup of long-term memories.