Emacs: activate persist hist and optimized clang-format