about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLevin Du <zsdjw@21cn.com>2008-04-10 15:34:56 +0800
committerChristian Neukirchen <chneukirchen@gmail.com>2008-04-10 16:24:35 +0200
commit1cbc163485d516c2927f2f3b9d9a19e3897de352 (patch)
treec3f6f1bbc4a08e715b56ba6773363054477aeaa7
parent2d341311055de31d8842cb6cc99c45ae5c8ef987 (diff)
downloadgitsum-1cbc163485d516c2927f2f3b9d9a19e3897de352.tar.gz
gitsum-1cbc163485d516c2927f2f3b9d9a19e3897de352.tar.xz
gitsum-1cbc163485d516c2927f2f3b9d9a19e3897de352.zip
gitsum.el: add viper compatible
Signed-off-by: Christian Neukirchen <chneukirchen@gmail.com>
-rw-r--r--gitsum.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/gitsum.el b/gitsum.el
index ccef992..299f5fa 100644
--- a/gitsum.el
+++ b/gitsum.el
@@ -163,4 +163,8 @@ A numeric argument serves as a repeat count."
   (gitsum-diff-mode)
   (gitsum-refresh))
 
+;; viper compatible
+(eval-after-load "viper"
+  '(add-to-list 'viper-emacs-state-mode-list 'gitsum-diff-mode))
+
 (provide 'gitsum)