summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2004-12-10 01:52:43 +0000
committerRichard M. Stallman <rms@gnu.org>2004-12-10 01:52:43 +0000
commitec06d344a39d0aab91909f368831f67de3ac5250 (patch)
treec8850dfa4fa06c31b887b2ec73a458e2382b64cb /lisp
parent21fa4a775ba51f585f72582ac0ef5a7b843ce11e (diff)
downloademacs-ec06d344a39d0aab91909f368831f67de3ac5250.tar.gz
(isearch-mode-map): Treat S-SPC like SPC.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/isearch.el2
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f446d70d9ca..3d3994cd248 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2004-12-09 Richard M. Stallman <rms@gnu.org>
+
+ * isearch.el (isearch-mode-map): Treat S-SPC like SPC.
+
2004-12-10 Nick Roberts <nickrob@snap.net.nz>
* xt-mouse.el (xterm-mouse-event): Correct cursor position in a
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 53d2ab1c4fb..77139988bb1 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -229,6 +229,7 @@ Default value, nil, means edit the string instead."
(while (< i 256)
(define-key map (vector i) 'isearch-printing-char)
(setq i (1+ i)))
+ (define-key map (vector i) 'isearch-printing-char)
;; To handle local bindings with meta char prefix keys, define
;; another full keymap. This must be done for any other prefix
@@ -262,6 +263,7 @@ Default value, nil, means edit the string instead."
(define-key map "\r" 'isearch-exit)
(define-key map "\C-j" 'isearch-printing-char)
(define-key map "\t" 'isearch-printing-char)
+ (define-key map [?\S-\ ] 'isearch-printing-char)
(define-key map "\C-w" 'isearch-yank-word-or-char)
(define-key map "\M-\C-w" 'isearch-del-char)