summaryrefslogtreecommitdiff
path: root/lisp/emulation
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-08-14 21:56:42 +0000
committerKarl Heuer <kwzh@gnu.org>1995-08-14 21:56:42 +0000
commite3f9f812cb1236e513ef2957279666739e1ed15d (patch)
treee76c26e6b2d1ce374f6ea9e48fdfcc5e5fe6dcc2 /lisp/emulation
parent18e4645ba32bdf7c73689acde37b3a8367c31ebb (diff)
downloademacs-e3f9f812cb1236e513ef2957279666739e1ed15d.tar.gz
(vip-set-hooks): Use view-mode-hook, not view-hook.
Diffstat (limited to 'lisp/emulation')
-rw-r--r--lisp/emulation/viper.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/emulation/viper.el b/lisp/emulation/viper.el
index 1ffbc102efd..4787149a129 100644
--- a/lisp/emulation/viper.el
+++ b/lisp/emulation/viper.el
@@ -114,7 +114,7 @@
;; default.
;; However, some modes do not appear in the right mode in the beginning,
;; usually because they neglect to follow Emacs conventions (e.g., they don't
-;; use (kill-all-local-variables) when they start. Some major modes
+;; use (kill-all-local-variables) when they start). Some major modes
;; may fail to come up in emacs-state if they call hooks, such as
;; text-hook, for no good reason.
;;
@@ -5382,9 +5382,9 @@ Mail anyway (y or n)? ")
;; This is only necessary when the user uses vip-modify-major-mode
(add-hook 'dired-mode-hook 'vip-change-state-to-emacs)
- (defvar view-hook nil
+ (defvar view-mode-hook nil
"View hook. Run after view mode.")
- (add-hook 'view-hook 'vip-change-state-to-emacs)
+ (add-hook 'view-mode-hook 'vip-change-state-to-emacs)
;; For VM users.
;; Put summary and other VM buffers in Emacs state.