'.' breaks when using cf<char>

Solution, prevent restoring the search register to allow repeating the
command.
fix small typo by commit 25819207d86