diff options
| author | Glenn Morris | 2011-05-23 20:37:31 -0700 |
|---|---|---|
| committer | Glenn Morris | 2011-05-23 20:37:31 -0700 |
| commit | 8831bbeda487f210e06b6b10147b68d94474ef67 (patch) | |
| tree | 7f48ddf5a76a2c320fb813eb53f853faf3bbf35d | |
| parent | eb8a5e9b13d1536dc7a9ac8795917dd768a372ed (diff) | |
| download | emacs-8831bbeda487f210e06b6b10147b68d94474ef67.tar.gz emacs-8831bbeda487f210e06b6b10147b68d94474ef67.zip | |
* lisp/emulation/viper.el (viper-set-hooks): Declare.
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/emulation/viper.el | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3f050faee13..3c8e1dcd8e6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2011-05-24 Glenn Morris <rgm@gnu.org> | 1 | 2011-05-24 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * emulation/viper.el (viper-set-hooks): Declare. | ||
| 4 | |||
| 3 | * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling. | 5 | * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling. |
| 4 | (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes. | 6 | (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes. |
| 5 | (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec) | 7 | (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec) |
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 @@ | |||
| 1 | ;;; viper.el --- A full-featured Vi emulator for GNU Emacs and XEmacs, | 1 | ;;; viper.el --- A full-featured Vi emulator for Emacs and XEmacs, |
| 2 | ;; a VI Plan for Emacs Rescue, | 2 | ;; a VI Plan for Emacs Rescue, |
| 3 | ;; and a venomous VI PERil. | 3 | ;; and a venomous VI PERil. |
| 4 | ;; Viper Is also a Package for Emacs Rebels. | 4 | ;; Viper Is also a Package for Emacs Rebels. |
| @@ -547,7 +547,7 @@ If Viper is enabled, turn it off. Otherwise, turn it on." | |||
| 547 | "Viper Is a Package for Emacs Rebels, | 547 | "Viper Is a Package for Emacs Rebels, |
| 548 | a VI Plan for Emacs Rescue, and a venomous VI PERil. | 548 | a VI Plan for Emacs Rescue, and a venomous VI PERil. |
| 549 | 549 | ||
| 550 | Incidentally, Viper emulates Vi under GNU Emacs 20 and XEmacs 20. | 550 | Incidentally, Viper emulates Vi under Emacs/XEmacs 20. |
| 551 | It supports all of what is good in Vi and Ex, while extending | 551 | It supports all of what is good in Vi and Ex, while extending |
| 552 | and improving upon much of it. | 552 | and improving upon much of it. |
| 553 | 553 | ||
| @@ -850,6 +850,7 @@ It also can't undo some Viper settings." | |||
| 850 | ;; Zap bad bindings in flyspell-mouse-map, which prevent ESC from working | 850 | ;; Zap bad bindings in flyspell-mouse-map, which prevent ESC from working |
| 851 | ;; over misspelled words (due to the overlay keymaps) | 851 | ;; over misspelled words (due to the overlay keymaps) |
| 852 | (defvar flyspell-mode-hook) | 852 | (defvar flyspell-mode-hook) |
| 853 | (defvar flyspell-mouse-map) | ||
| 853 | (add-hook 'flyspell-mode-hook | 854 | (add-hook 'flyspell-mode-hook |
| 854 | (lambda () | 855 | (lambda () |
| 855 | (define-key flyspell-mouse-map viper-ESC-key nil))) | 856 | (define-key flyspell-mouse-map viper-ESC-key nil))) |