]> git.eshelyaron.com Git - emacs.git/commitdiff
(isearch-printing-char): Change S-SPC to SPC.
authorKarl Heuer <kwzh@gnu.org>
Wed, 15 Oct 1997 23:15:09 +0000 (23:15 +0000)
committerKarl Heuer <kwzh@gnu.org>
Wed, 15 Oct 1997 23:15:09 +0000 (23:15 +0000)
(isearch-mode-map): Bind S-SPC like SPC.

lisp/isearch.el

index f5c495171f8dc3be3af53d7fb91086e90f8bb332..d253278fe2f2f05ef9b18e516734c60c62fa16f9 100644 (file)
@@ -279,6 +279,7 @@ Default value, nil, means edit the string instead."
       (define-key map "\C-j" 'isearch-printing-char)
       (define-key map "\t" 'isearch-printing-char)
       (define-key map " " 'isearch-whitespace-chars)
+      (define-key map [?\S-\ ] 'isearch-whitespace-chars)
     
       (define-key map "\C-w" 'isearch-yank-word)
       (define-key map "\C-y" 'isearch-yank-line)
@@ -1180,6 +1181,8 @@ Obsolete."
   "Add this ordinary printing character to the search string and search."
   (interactive)
   (let ((char (isearch-last-command-char)))
+    (if (= char ?\S-\ )
+       (setq char ?\ ))
     (if (and enable-multibyte-characters
             (>= char ?\200)
             (<= char ?\377))