diff options
| author | Kenichi Handa | 1997-08-18 10:53:05 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1997-08-18 10:53:05 +0000 |
| commit | 5b56d4e4bde6c52a0d91d3dc21c229de07b4260d (patch) | |
| tree | b827688ef041c6c8eed1c9f9ec91646a5911d125 | |
| parent | 000028d79c1d7898d16ca2fdbc7ff46413753109 (diff) | |
| download | emacs-5b56d4e4bde6c52a0d91d3dc21c229de07b4260d.tar.gz emacs-5b56d4e4bde6c52a0d91d3dc21c229de07b4260d.zip | |
(isearch-multibyte-characters-flag): Deleted.
(isearch-mode): Do not bind isearch-multibyte-characters-flag and
isearch-input-method.
(isearch-printing-char): Use current-input-method instead of
isearch-input-method.
(isearch-message-prefix): Likewise.
| -rw-r--r-- | lisp/isearch.el | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el index 1547e7759b7..2a57d505fc0 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el | |||
| @@ -369,9 +369,6 @@ Default value, nil, means edit the string instead." | |||
| 369 | ;; Flag to indicate a yank occurred, so don't move the cursor. | 369 | ;; Flag to indicate a yank occurred, so don't move the cursor. |
| 370 | (defvar isearch-yank-flag nil) | 370 | (defvar isearch-yank-flag nil) |
| 371 | 371 | ||
| 372 | ;; Flag to indicate that we are searching multibyte characaters. | ||
| 373 | (defvar isearch-multibyte-characters-flag nil) | ||
| 374 | |||
| 375 | ;;; A function to be called after each input character is processed. | 372 | ;;; A function to be called after each input character is processed. |
| 376 | ;;; (It is not called after characters that exit the search.) | 373 | ;;; (It is not called after characters that exit the search.) |
| 377 | ;;; It is only set from an optional argument to `isearch-mode'. | 374 | ;;; It is only set from an optional argument to `isearch-mode'. |
| @@ -521,8 +518,6 @@ is treated as a regexp. See \\[isearch-forward] for more info." | |||
| 521 | isearch-other-end nil | 518 | isearch-other-end nil |
| 522 | isearch-small-window nil | 519 | isearch-small-window nil |
| 523 | isearch-just-started t | 520 | isearch-just-started t |
| 524 | isearch-multibyte-characters-flag nil | ||
| 525 | isearch-input-method nil | ||
| 526 | 521 | ||
| 527 | isearch-opoint (point) | 522 | isearch-opoint (point) |
| 528 | search-ring-yank-pointer nil | 523 | search-ring-yank-pointer nil |
| @@ -1183,7 +1178,7 @@ Obsolete." | |||
| 1183 | (defun isearch-printing-char () | 1178 | (defun isearch-printing-char () |
| 1184 | "Add this ordinary printing character to the search string and search." | 1179 | "Add this ordinary printing character to the search string and search." |
| 1185 | (interactive) | 1180 | (interactive) |
| 1186 | (if isearch-input-method | 1181 | (if current-input-method |
| 1187 | (isearch-process-search-multibyte-characters (isearch-last-command-char)) | 1182 | (isearch-process-search-multibyte-characters (isearch-last-command-char)) |
| 1188 | (isearch-process-search-char (isearch-last-command-char)))) | 1183 | (isearch-process-search-char (isearch-last-command-char)))) |
| 1189 | 1184 | ||
| @@ -1419,8 +1414,8 @@ If there is no completion possible, say so and continue searching." | |||
| 1419 | (if isearch-regexp "regexp " "") | 1414 | (if isearch-regexp "regexp " "") |
| 1420 | (if nonincremental "search" "I-search") | 1415 | (if nonincremental "search" "I-search") |
| 1421 | (if isearch-forward "" " backward") | 1416 | (if isearch-forward "" " backward") |
| 1422 | (if isearch-input-method | 1417 | (if current-input-method |
| 1423 | (concat " [" isearch-input-method-title "]: ") | 1418 | (concat " [" current-input-method-title "]: ") |
| 1424 | ": ") | 1419 | ": ") |
| 1425 | ))) | 1420 | ))) |
| 1426 | (aset m 0 (upcase (aref m 0))) | 1421 | (aset m 0 (upcase (aref m 0))) |