;; Flag to indicate a yank occurred, so don't move the cursor.
(defvar isearch-yank-flag nil)
-;; Flag to indicate that we are searching multibyte characaters.
-(defvar isearch-multibyte-characters-flag nil)
-
;;; A function to be called after each input character is processed.
;;; (It is not called after characters that exit the search.)
;;; It is only set from an optional argument to `isearch-mode'.
isearch-other-end nil
isearch-small-window nil
isearch-just-started t
- isearch-multibyte-characters-flag nil
- isearch-input-method nil
isearch-opoint (point)
search-ring-yank-pointer nil
(defun isearch-printing-char ()
"Add this ordinary printing character to the search string and search."
(interactive)
- (if isearch-input-method
+ (if current-input-method
(isearch-process-search-multibyte-characters (isearch-last-command-char))
(isearch-process-search-char (isearch-last-command-char))))
(if isearch-regexp "regexp " "")
(if nonincremental "search" "I-search")
(if isearch-forward "" " backward")
- (if isearch-input-method
- (concat " [" isearch-input-method-title "]: ")
+ (if current-input-method
+ (concat " [" current-input-method-title "]: ")
": ")
)))
(aset m 0 (upcase (aref m 0)))