[clang-tools-extra] r277469 - [clang-rename] fix Emacs script build failure

Kirill Bobyrev via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 2 08:10:17 PDT 2016


Author: omtcyfz
Date: Tue Aug  2 10:10:17 2016
New Revision: 277469

URL: http://llvm.org/viewvc/llvm-project?rev=277469&view=rev
Log:
[clang-rename] fix Emacs script build failure

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


Modified:
    clang-tools-extra/trunk/clang-rename/tool/clang-rename.el

Modified: clang-tools-extra/trunk/clang-rename/tool/clang-rename.el
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-rename/tool/clang-rename.el?rev=277469&r1=277468&r2=277469&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-rename/tool/clang-rename.el (original)
+++ clang-tools-extra/trunk/clang-rename/tool/clang-rename.el Tue Aug  2 10:10:17 2016
@@ -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))
     )
   )
 )




More information about the cfe-commits mailing list