diff options
| author | Richard M. Stallman | 1993-03-30 19:38:34 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-03-30 19:38:34 +0000 |
| commit | 58f1634a6800625beef9ce2205d0c15eeba006dc (patch) | |
| tree | c49d42423d1e00045cd81babace535bedbd6e071 | |
| parent | 0b2974abfe4071524a56ce94b187b9e499f8044b (diff) | |
| download | emacs-58f1634a6800625beef9ce2205d0c15eeba006dc.tar.gz emacs-58f1634a6800625beef9ce2205d0c15eeba006dc.zip | |
(isearch-mode-map): Delete the binding for C-h.
| -rw-r--r-- | lisp/isearch.el | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el index 85b8924ac0d..1abd4c56a0a 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | ;; Author: Daniel LaLiberte <liberte@cs.uiuc.edu> | 5 | ;; Author: Daniel LaLiberte <liberte@cs.uiuc.edu> |
| 6 | 6 | ||
| 7 | ;; |$Date: 1993/03/17 17:17:05 $|$Revision: 1.26 $ | 7 | ;; |$Date: 1993/03/21 05:50:17 $|$Revision: 1.27 $ |
| 8 | 8 | ||
| 9 | ;; This file is not yet part of GNU Emacs, but it is based almost | 9 | ;; This file is not yet part of GNU Emacs, but it is based almost |
| 10 | ;; entirely on isearch.el which is part of GNU Emacs. | 10 | ;; entirely on isearch.el which is part of GNU Emacs. |
| @@ -92,8 +92,12 @@ | |||
| 92 | ;;;==================================================================== | 92 | ;;;==================================================================== |
| 93 | ;;; Change History | 93 | ;;; Change History |
| 94 | 94 | ||
| 95 | ;;; $Header: /home/gd/gnu/emacs/19.0/lisp/RCS/isearch.el,v 1.26 1993/03/17 17:17:05 eric Exp jimb $ | 95 | ;;; $Header: /gd/gnu/emacs/19.0/lisp/RCS/isearch.el,v 1.27 1993/03/21 05:50:17 jimb Exp rms $ |
| 96 | ;;; $Log: isearch.el,v $ | 96 | ;;; $Log: isearch.el,v $ |
| 97 | ; Revision 1.27 1993/03/21 05:50:17 jimb | ||
| 98 | ; * isearch.el (isearch-switch-frame-handler): Call | ||
| 99 | ; handle-switch-frame instead of select-frame; it has been renamed. | ||
| 100 | ; | ||
| 97 | ; Revision 1.26 1993/03/17 17:17:05 eric | 101 | ; Revision 1.26 1993/03/17 17:17:05 eric |
| 98 | ; Add standard library headers. | 102 | ; Add standard library headers. |
| 99 | ; | 103 | ; |
| @@ -349,16 +353,9 @@ Default value, nil, means edit the string instead.") | |||
| 349 | (define-key map "?" 'isearch-*-char) | 353 | (define-key map "?" 'isearch-*-char) |
| 350 | (define-key map "|" 'isearch-|-char) | 354 | (define-key map "|" 'isearch-|-char) |
| 351 | 355 | ||
| 352 | ;; You can reenable global keys by binding them locally to nil. | 356 | ;;; Turned off because I find I expect to get the global definition--rms. |
| 353 | ;; For the help char this doesnt work quite as expected because | 357 | ;;; ;; Instead bind C-h to special help command for isearch-mode. |
| 354 | ;; isearch-mode is not a major mode. Also the echo area is not | 358 | ;;; (define-key map "\C-h" 'isearch-mode-help) |
| 355 | ;; restored after the help command while isearch-mode is | ||
| 356 | ;; still active. Furthermore, we should not assume that the | ||
| 357 | ;; help-command is on C-h. But here is how it would be done: | ||
| 358 | ;; (define-key map "\C-h" nil) | ||
| 359 | |||
| 360 | ;; Instead bind C-h to special help command for isearch-mode. | ||
| 361 | (define-key map "\C-h" 'isearch-mode-help) | ||
| 362 | 359 | ||
| 363 | ;; To handle local bindings with meta char prefix keys, define | 360 | ;; To handle local bindings with meta char prefix keys, define |
| 364 | ;; another full keymap. This must be done for any other prefix | 361 | ;; another full keymap. This must be done for any other prefix |