diff options
| author | Miles Bader | 2006-02-01 10:07:17 +0000 |
|---|---|---|
| committer | Miles Bader | 2006-02-01 10:07:17 +0000 |
| commit | 06eb776d8e80eaed0f6b04349dbd4df9292131d9 (patch) | |
| tree | f8f308fcd75d052e99c7e176efc100c8488fda7f /lisp/emulation | |
| parent | db856169c248b363fe3dc5ee4e8b1dd18c3a05a2 (diff) | |
| parent | 46e8fe3d6ce114ae3ecd41f7add9ed7f0c13f4b6 (diff) | |
| download | emacs-06eb776d8e80eaed0f6b04349dbd4df9292131d9.tar.gz emacs-06eb776d8e80eaed0f6b04349dbd4df9292131d9.zip | |
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-9
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 16-33)
- Update from CVS
- Install ERC.
- Fix ERC compiler warnings.
- Use utf-8 encoding in ERC ChangeLogs.
- Merge ERC-related Viper hacks into Viper.
- Merge from erc--main--0
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 8-13)
- Merge from emacs--devo--0
- Update from CVS
Diffstat (limited to 'lisp/emulation')
| -rw-r--r-- | lisp/emulation/viper.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/emulation/viper.el b/lisp/emulation/viper.el index 754eff3906d..ad366135ff1 100644 --- a/lisp/emulation/viper.el +++ b/lisp/emulation/viper.el | |||
| @@ -458,6 +458,7 @@ unless it is coming up in a wrong Viper state." | |||
| 458 | '(internal-ange-ftp-mode | 458 | '(internal-ange-ftp-mode |
| 459 | comint-mode | 459 | comint-mode |
| 460 | inferior-emacs-lisp-mode | 460 | inferior-emacs-lisp-mode |
| 461 | erc-mode | ||
| 461 | eshell-mode | 462 | eshell-mode |
| 462 | shell-mode) | 463 | shell-mode) |
| 463 | "*A list of major modes that should come up in Vi Insert state." | 464 | "*A list of major modes that should come up in Vi Insert state." |
| @@ -494,6 +495,8 @@ unless it is coming up in a wrong Viper state." | |||
| 494 | (gnus-summary-mode emacs-state viper-gnus-modifier-map) | 495 | (gnus-summary-mode emacs-state viper-gnus-modifier-map) |
| 495 | (Info-mode emacs-state viper-slash-and-colon-map) | 496 | (Info-mode emacs-state viper-slash-and-colon-map) |
| 496 | (Buffer-menu-mode emacs-state viper-slash-and-colon-map) | 497 | (Buffer-menu-mode emacs-state viper-slash-and-colon-map) |
| 498 | (erc-mode insert-state viper-comint-mode-modifier-map) | ||
| 499 | (erc-mode vi-state viper-comint-mode-modifier-map) | ||
| 497 | ) | 500 | ) |
| 498 | "List specifying how to modify the various major modes to enable some Viperisms. | 501 | "List specifying how to modify the various major modes to enable some Viperisms. |
| 499 | The list has the structure: ((mode viper-state keymap) (mode viper-state | 502 | The list has the structure: ((mode viper-state keymap) (mode viper-state |
| @@ -768,6 +771,7 @@ It also can't undo some Viper settings." | |||
| 768 | ;; remove all hooks set by viper | 771 | ;; remove all hooks set by viper |
| 769 | (mapatoms 'viper-remove-hooks) | 772 | (mapatoms 'viper-remove-hooks) |
| 770 | (remove-hook 'comint-mode-hook 'viper-comint-mode-hook) | 773 | (remove-hook 'comint-mode-hook 'viper-comint-mode-hook) |
| 774 | (remove-hook 'erc-mode-hook 'viper-comint-mode-hook) | ||
| 771 | (remove-hook 'minibuffer-setup-hook 'viper-minibuffer-setup-sentinel) | 775 | (remove-hook 'minibuffer-setup-hook 'viper-minibuffer-setup-sentinel) |
| 772 | (remove-hook 'change-major-mode-hook 'viper-major-mode-change-sentinel) | 776 | (remove-hook 'change-major-mode-hook 'viper-major-mode-change-sentinel) |
| 773 | (remove-hook 'post-command-hook 'viper-minibuffer-post-command-hook) | 777 | (remove-hook 'post-command-hook 'viper-minibuffer-post-command-hook) |
| @@ -913,6 +917,7 @@ It also can't undo some Viper settings." | |||
| 913 | 917 | ||
| 914 | ;; Emacs shell, ange-ftp, and comint-based modes | 918 | ;; Emacs shell, ange-ftp, and comint-based modes |
| 915 | (add-hook 'comint-mode-hook 'viper-comint-mode-hook) ; comint | 919 | (add-hook 'comint-mode-hook 'viper-comint-mode-hook) ; comint |
| 920 | (add-hook 'erc-mode-hook 'viper-comint-mode-hook) ; ERC | ||
| 916 | 921 | ||
| 917 | (add-hook 'eshell-mode-hook | 922 | (add-hook 'eshell-mode-hook |
| 918 | (lambda () (setq viper-auto-indent nil))) | 923 | (lambda () (setq viper-auto-indent nil))) |