2002-01-09 Michael Kifer <kifer@cs.stonybrook.edu>

* viper.el (viper-set-hooks): zap viper-unfriendly bindings in
	flyspell-mouse-map.
This commit is contained in:
Michael Kifer 2002-01-09 17:33:15 +00:00
parent 5bc3d7cc9e
commit b93e5ce229
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2002-01-09 Michael Kifer <kifer@cs.stonybrook.edu>
* viper.el (viper-set-hooks): zap viper-unfriendly bindings in
flyspell-mouse-map.
2002-01-08 Richard M. Stallman <rms@gnu.org>
* emacs-lisp/regexp-opt.el (regexp-opt): Bind max-specpdl-size.

View file

@ -828,6 +828,13 @@ remains buffer-local."
(defvar emerge-startup-hook)
(add-hook 'emerge-startup-hook 'viper-change-state-to-emacs)
;; Zap bad bindings in flyspell-mouse-map, which prevent ESC from working
;; over misspelled words (due to the overlay keymaps)
(defvar flyspell-mode-hook)
(add-hook 'flyspell-mode-hook
'(lambda ()
(define-key flyspell-mouse-map viper-ESC-key nil)))
;; Tell vc-diff to put *vc* in Vi mode
(if (featurep 'vc)
(defadvice vc-diff (after viper-vc-ad activate)