Using a circular buffer to limit the memory used by kill-save-region and kill-region commands.