summaryrefslogtreecommitdiff
path: root/lisp/emulation
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2011-05-23 20:37:31 -0700
committerGlenn Morris <rgm@gnu.org>2011-05-23 20:37:31 -0700
commit8831bbeda487f210e06b6b10147b68d94474ef67 (patch)
tree7f48ddf5a76a2c320fb813eb53f853faf3bbf35d /lisp/emulation
parenteb8a5e9b13d1536dc7a9ac8795917dd768a372ed (diff)
downloademacs-8831bbeda487f210e06b6b10147b68d94474ef67.tar.gz
* lisp/emulation/viper.el (viper-set-hooks): Declare.
Diffstat (limited to 'lisp/emulation')
-rw-r--r--lisp/emulation/viper.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/emulation/viper.el b/lisp/emulation/viper.el
index 1057eb00cdd..38a881845df 100644
--- a/lisp/emulation/viper.el
+++ b/lisp/emulation/viper.el
@@ -1,4 +1,4 @@
-;;; viper.el --- A full-featured Vi emulator for GNU Emacs and XEmacs,
+;;; viper.el --- A full-featured Vi emulator for Emacs and XEmacs,
;; a VI Plan for Emacs Rescue,
;; and a venomous VI PERil.
;; Viper Is also a Package for Emacs Rebels.
@@ -547,7 +547,7 @@ If Viper is enabled, turn it off. Otherwise, turn it on."
"Viper Is a Package for Emacs Rebels,
a VI Plan for Emacs Rescue, and a venomous VI PERil.
-Incidentally, Viper emulates Vi under GNU Emacs 20 and XEmacs 20.
+Incidentally, Viper emulates Vi under Emacs/XEmacs 20.
It supports all of what is good in Vi and Ex, while extending
and improving upon much of it.
@@ -850,6 +850,7 @@ It also can't undo some Viper settings."
;; Zap bad bindings in flyspell-mouse-map, which prevent ESC from working
;; over misspelled words (due to the overlay keymaps)
(defvar flyspell-mode-hook)
+ (defvar flyspell-mouse-map)
(add-hook 'flyspell-mode-hook
(lambda ()
(define-key flyspell-mouse-map viper-ESC-key nil)))