diff options
| author | Karl Heuer | 1995-08-14 21:56:42 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-08-14 21:56:42 +0000 |
| commit | 27a0a490a8eb564be039180c14f0861a067290fe (patch) | |
| tree | 38f223473d9156026c4d9b49cd7f0879ef3f9341 /lisp/emulation | |
| parent | bc4498bb8685cba76b65933b70f13ce6a80d6488 (diff) | |
| download | emacs-27a0a490a8eb564be039180c14f0861a067290fe.tar.gz emacs-27a0a490a8eb564be039180c14f0861a067290fe.zip | |
(vip-set-hooks): Use view-mode-hook, not view-hook.
Diffstat (limited to 'lisp/emulation')
| -rw-r--r-- | lisp/emulation/viper.el | 6 |
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 @@ | |||
| 114 | ;; default. | 114 | ;; default. |
| 115 | ;; However, some modes do not appear in the right mode in the beginning, | 115 | ;; However, some modes do not appear in the right mode in the beginning, |
| 116 | ;; usually because they neglect to follow Emacs conventions (e.g., they don't | 116 | ;; usually because they neglect to follow Emacs conventions (e.g., they don't |
| 117 | ;; use (kill-all-local-variables) when they start. Some major modes | 117 | ;; use (kill-all-local-variables) when they start). Some major modes |
| 118 | ;; may fail to come up in emacs-state if they call hooks, such as | 118 | ;; may fail to come up in emacs-state if they call hooks, such as |
| 119 | ;; text-hook, for no good reason. | 119 | ;; text-hook, for no good reason. |
| 120 | ;; | 120 | ;; |
| @@ -5382,9 +5382,9 @@ Mail anyway (y or n)? ") | |||
| 5382 | ;; This is only necessary when the user uses vip-modify-major-mode | 5382 | ;; This is only necessary when the user uses vip-modify-major-mode |
| 5383 | (add-hook 'dired-mode-hook 'vip-change-state-to-emacs) | 5383 | (add-hook 'dired-mode-hook 'vip-change-state-to-emacs) |
| 5384 | 5384 | ||
| 5385 | (defvar view-hook nil | 5385 | (defvar view-mode-hook nil |
| 5386 | "View hook. Run after view mode.") | 5386 | "View hook. Run after view mode.") |
| 5387 | (add-hook 'view-hook 'vip-change-state-to-emacs) | 5387 | (add-hook 'view-mode-hook 'vip-change-state-to-emacs) |
| 5388 | 5388 | ||
| 5389 | ;; For VM users. | 5389 | ;; For VM users. |
| 5390 | ;; Put summary and other VM buffers in Emacs state. | 5390 | ;; Put summary and other VM buffers in Emacs state. |