[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/emulation/viper.el
From: |
Michael Kifer |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/emulation/viper.el |
Date: |
Wed, 09 Jan 2002 12:33:16 -0500 |
Index: emacs/lisp/emulation/viper.el
diff -c emacs/lisp/emulation/viper.el:1.70 emacs/lisp/emulation/viper.el:1.71
*** emacs/lisp/emulation/viper.el:1.70 Mon Jan 7 23:36:00 2002
--- emacs/lisp/emulation/viper.el Wed Jan 9 12:33:15 2002
***************
*** 828,833 ****
--- 828,840 ----
(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)