Function: isearch-char-by-name
isearch-char-by-name is an interactive and byte-compiled function
defined in isearch.el.gz.
Signature
(isearch-char-by-name &optional COUNT)
Documentation
Read a character by its Unicode name and add it to the search string.
Completion is available like in read-char-by-name used by insert-char.
With argument, add COUNT copies of the character.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/isearch.el.gz
(defun isearch-char-by-name (&optional count)
"Read a character by its Unicode name and add it to the search string.
Completion is available like in `read-char-by-name' used by `insert-char'.
With argument, add COUNT copies of the character."
(interactive "p")
(with-isearch-suspended
(let ((char (read-char-by-name "Add character to search (Unicode name or hex): ")))
(when char
(let ((string (if (and (integerp count) (> count 1))
(make-string count char)
(char-to-string char))))
(setq isearch-new-string (concat isearch-string string)
isearch-new-message (concat isearch-message
(mapconcat 'isearch-text-char-description
string ""))))))))