Function: isearch-toggle-specified-input-method
isearch-toggle-specified-input-method is an autoloaded, interactive
and byte-compiled function defined in isearch-x.el.gz.
Signature
(isearch-toggle-specified-input-method)
Documentation
Select an input method and turn it on in interactive search.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/international/isearch-x.el.gz
;;; isearch-x.el --- extended isearch handling commands -*- lexical-binding: t; -*-
;; Copyright (C) 1997, 2001-2024 Free Software Foundation, Inc.
;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
;; 2005, 2006, 2007, 2008, 2009, 2010, 2011
;; National Institute of Advanced Industrial Science and Technology (AIST)
;; Registration Number H14PRO021
;; Keywords: i18n, multilingual, isearch
;; Author: Kenichi Handa <handa@gnu.org>
;; This file is part of GNU Emacs.
;; GNU Emacs is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Emacs is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
;;; Commentary:
;;; Code:
;;;###autoload
(defun isearch-toggle-specified-input-method ()
"Select an input method and turn it on in interactive search."
(interactive)
(let ((overriding-terminal-local-map nil))
(toggle-input-method t))
(setq isearch-input-method-function input-method-function)
(setq-local input-method-function nil)
(isearch-update))