aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1997-10-15 23:15:09 +0000
committerKarl Heuer1997-10-15 23:15:09 +0000
commit45b94eb2e9e5b87f352e620880b79e71e3104a64 (patch)
treef9625bf30351e732e91524e0db277cc3aa80dc68
parent142d91357fe87de90bfe7e789cd57ada662fc349 (diff)
downloademacs-45b94eb2e9e5b87f352e620880b79e71e3104a64.tar.gz
emacs-45b94eb2e9e5b87f352e620880b79e71e3104a64.zip
(isearch-printing-char): Change S-SPC to SPC.
(isearch-mode-map): Bind S-SPC like SPC.
-rw-r--r--lisp/isearch.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index f5c495171f8..d253278fe2f 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -279,6 +279,7 @@ Default value, nil, means edit the string instead."
279 (define-key map "\C-j" 'isearch-printing-char) 279 (define-key map "\C-j" 'isearch-printing-char)
280 (define-key map "\t" 'isearch-printing-char) 280 (define-key map "\t" 'isearch-printing-char)
281 (define-key map " " 'isearch-whitespace-chars) 281 (define-key map " " 'isearch-whitespace-chars)
282 (define-key map [?\S-\ ] 'isearch-whitespace-chars)
282 283
283 (define-key map "\C-w" 'isearch-yank-word) 284 (define-key map "\C-w" 'isearch-yank-word)
284 (define-key map "\C-y" 'isearch-yank-line) 285 (define-key map "\C-y" 'isearch-yank-line)
@@ -1180,6 +1181,8 @@ Obsolete."
1180 "Add this ordinary printing character to the search string and search." 1181 "Add this ordinary printing character to the search string and search."
1181 (interactive) 1182 (interactive)
1182 (let ((char (isearch-last-command-char))) 1183 (let ((char (isearch-last-command-char)))
1184 (if (= char ?\S-\ )
1185 (setq char ?\ ))
1183 (if (and enable-multibyte-characters 1186 (if (and enable-multibyte-characters
1184 (>= char ?\200) 1187 (>= char ?\200)
1185 (<= char ?\377)) 1188 (<= char ?\377))