[clang-rename] fix Emacs script build failure

Clang-rename Emacs integration script sometimes doesn't work correctly.

llvm-svn: 277469
This commit is contained in:
Kirill Bobyrev 2016-08-02 15:10:17 +00:00
parent f94cd9df0f
commit cb2bac6e98
1 changed files with 3 additions and 2 deletions

View File

@ -34,8 +34,9 @@
;; Run clang-rename via bash.
(shell-command rename-command)
;; Reload buffer.
(interactive)
(revert-buffer t t)
(lambda ()
(interactive)
(revert-buffer t t))
)
)
)