* lisp/emulation/viper.el (viper-set-hooks): Declare.
authorGlenn Morris <rgm@gnu.org>
Tue, 24 May 2011 03:37:31 +0000 (20:37 -0700)
committerGlenn Morris <rgm@gnu.org>
Tue, 24 May 2011 03:37:31 +0000 (20:37 -0700)
lisp/ChangeLog
lisp/emulation/viper.el

index 3f050fa..3c8e1dc 100644 (file)
@@ -1,5 +1,7 @@
 2011-05-24  Glenn Morris  <rgm@gnu.org>
 
+       * emulation/viper.el (viper-set-hooks): Declare.
+
        * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
        (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
        (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
index 1057eb0..38a8818 100644 (file)
@@ -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)))