diff lisp/viper/viper.el @ 187:b405438285a2 r20-3b20

Import from CVS: tag r20-3b20
author cvs
date Mon, 13 Aug 2007 09:56:28 +0200
parents 3d6bfa290dbd
children acd284d43ca1
line wrap: on
line diff
--- a/lisp/viper/viper.el	Mon Aug 13 09:55:30 2007 +0200
+++ b/lisp/viper/viper.el	Mon Aug 13 09:56:28 2007 +0200
@@ -630,9 +630,10 @@
   (defvar makefile-mode-hook)
   (add-hook 'makefile-mode-hook 'viper-mode)
 
+  ;; Help mode is now for viewing only
   (defvar help-mode-hook)
-  (add-hook 'help-mode-hook 'viper-mode)
-  (viper-modify-major-mode 'help-mode 'vi-state viper-help-modifier-map)
+  (add-hook 'help-mode-hook 'viper-change-state-to-emacs)
+  (viper-modify-major-mode 'help-mode 'emacs-state viper-slash-and-colon-map)
 
   (defvar awk-mode-hook)
   (add-hook 'awk-mode-hook 'viper-mode)