diff options
| author | Michael Kifer | 2002-01-09 17:33:15 +0000 |
|---|---|---|
| committer | Michael Kifer | 2002-01-09 17:33:15 +0000 |
| commit | b93e5ce229008d4a06302f05d0e1e958a29a1a5e (patch) | |
| tree | 2d4ddf3d8fb534d959e8fa8fd6ba5ec1104ad117 | |
| parent | 5bc3d7cc9ee1e69156985a4d703202322f3019bc (diff) | |
| download | emacs-b93e5ce229008d4a06302f05d0e1e958a29a1a5e.tar.gz emacs-b93e5ce229008d4a06302f05d0e1e958a29a1a5e.zip | |
2002-01-09 Michael Kifer <kifer@cs.stonybrook.edu>
* viper.el (viper-set-hooks): zap viper-unfriendly bindings in
flyspell-mouse-map.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/emulation/viper.el | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 01dd7bff8c9..e3124396d94 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2002-01-09 Michael Kifer <kifer@cs.stonybrook.edu> | ||
| 2 | |||
| 3 | * viper.el (viper-set-hooks): zap viper-unfriendly bindings in | ||
| 4 | flyspell-mouse-map. | ||
| 5 | |||
| 1 | 2002-01-08 Richard M. Stallman <rms@gnu.org> | 6 | 2002-01-08 Richard M. Stallman <rms@gnu.org> |
| 2 | 7 | ||
| 3 | * emacs-lisp/regexp-opt.el (regexp-opt): Bind max-specpdl-size. | 8 | * emacs-lisp/regexp-opt.el (regexp-opt): Bind max-specpdl-size. |
diff --git a/lisp/emulation/viper.el b/lisp/emulation/viper.el index 7e1f47d3728..65c426da535 100644 --- a/lisp/emulation/viper.el +++ b/lisp/emulation/viper.el | |||
| @@ -828,6 +828,13 @@ remains buffer-local." | |||
| 828 | (defvar emerge-startup-hook) | 828 | (defvar emerge-startup-hook) |
| 829 | (add-hook 'emerge-startup-hook 'viper-change-state-to-emacs) | 829 | (add-hook 'emerge-startup-hook 'viper-change-state-to-emacs) |
| 830 | 830 | ||
| 831 | ;; Zap bad bindings in flyspell-mouse-map, which prevent ESC from working | ||
| 832 | ;; over misspelled words (due to the overlay keymaps) | ||
| 833 | (defvar flyspell-mode-hook) | ||
| 834 | (add-hook 'flyspell-mode-hook | ||
| 835 | '(lambda () | ||
| 836 | (define-key flyspell-mouse-map viper-ESC-key nil))) | ||
| 837 | |||
| 831 | ;; Tell vc-diff to put *vc* in Vi mode | 838 | ;; Tell vc-diff to put *vc* in Vi mode |
| 832 | (if (featurep 'vc) | 839 | (if (featurep 'vc) |
| 833 | (defadvice vc-diff (after viper-vc-ad activate) | 840 | (defadvice vc-diff (after viper-vc-ad activate) |