diff options
author | Stefan Monnier <[email protected]> | 2000-06-02 00:48:43 +0000 |
---|---|---|
committer | Stefan Monnier <[email protected]> | 2000-06-02 00:48:43 +0000 |
commit | c5def0db86105ac657a6df9eeb9df5b8452adf03 (patch) | |
tree | 2e2ceda4153e96b44695058d56bf3a4f16ca2a53 /lisp/isearch.el | |
parent | 2330c9d456bbd96e6866774f64afa4f8fe4983b0 (diff) |
(isearch-highlight): Turn internal-find-face into facep.
Diffstat (limited to 'lisp/isearch.el')
-rw-r--r-- | lisp/isearch.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el index cbb9e84c89..8b0dc93215 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -1498,8 +1498,7 @@ If there is no completion possible, say so and continue searching." (concat " [" current-input-method-title "]: ") ": ") ))) - (aset m 0 (upcase (aref m 0))) - m)) + (concat (upcase (substring m 0 1)) (substring m 1)))) (defun isearch-message-suffix (&optional c-q-hack ellipsis) @@ -1729,7 +1728,7 @@ If there is no completion possible, say so and continue searching." (or isearch-overlay (setq isearch-overlay (make-overlay beg end))) (move-overlay isearch-overlay beg end (current-buffer)) (overlay-put isearch-overlay 'face - (if (internal-find-face 'isearch nil) + (if (facep 'isearch) 'isearch 'region)))) (defun isearch-dehighlight (totally) |