From: Richard M. Stallman Date: Sat, 25 Dec 1993 00:50:10 +0000 (+0000) Subject: (isearch-mode-map): Bind kp-... keys. X-Git-Tag: emacs-19.34~10507 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f7ead361209a433b031f1805c5829ae01114b2b7;p=emacs.git (isearch-mode-map): Bind kp-... keys. --- diff --git a/lisp/isearch.el b/lisp/isearch.el index 7be09bd5f28..ba24618d1a6 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -4,7 +4,7 @@ ;; Author: Daniel LaLiberte -;; |$Date: 1993/12/23 03:28:10 $|$Revision: 1.56 $ +;; |$Date: 1993/12/24 03:30:11 $|$Revision: 1.57 $ ;; This file is part of GNU Emacs. @@ -242,6 +242,26 @@ Default value, nil, means edit the string instead.") ;; since otherwise the default binding would override. ;; We bind [escape] below. (define-key map [tab] 'isearch-printing-char) + (define-key map [kp-0] 'isearch-printing-char) + (define-key map [kp-1] 'isearch-printing-char) + (define-key map [kp-2] 'isearch-printing-char) + (define-key map [kp-3] 'isearch-printing-char) + (define-key map [kp-4] 'isearch-printing-char) + (define-key map [kp-5] 'isearch-printing-char) + (define-key map [kp-6] 'isearch-printing-char) + (define-key map [kp-7] 'isearch-printing-char) + (define-key map [kp-8] 'isearch-printing-char) + (define-key map [kp-9] 'isearch-printing-char) + (define-key map [kp-add] 'isearch-printing-char) + (define-key map [kp-subtract] 'isearch-printing-char) + (define-key map [kp-multiply] 'isearch-printing-char) + (define-key map [kp-divide] 'isearch-printing-char) + (define-key map [kp-decimal] 'isearch-printing-char) + (define-key map [kp-separator] 'isearch-printing-char) + (define-key map [kp-equal] 'isearch-printing-char) + (define-key map [kp-tab] 'isearch-printing-char) + (define-key map [kp-space] 'isearch-printing-char) + (define-key map [kp-enter] 'isearch-exit) (define-key map [delete] 'isearch-delete-char) (define-key map [backspace] 'isearch-delete-char) (define-key map [return] 'isearch-exit)