diff options
| author | Stefan Monnier | 2000-06-02 00:48:43 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2000-06-02 00:48:43 +0000 |
| commit | c5def0db86105ac657a6df9eeb9df5b8452adf03 (patch) | |
| tree | 2e2ceda4153e96b44695058d56bf3a4f16ca2a53 | |
| parent | 2330c9d456bbd96e6866774f64afa4f8fe4983b0 (diff) | |
| download | emacs-c5def0db86105ac657a6df9eeb9df5b8452adf03.tar.gz emacs-c5def0db86105ac657a6df9eeb9df5b8452adf03.zip | |
(isearch-highlight): Turn internal-find-face into facep.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/isearch.el | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index cc8f3a60737..6e7d4ba4743 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2000-06-01 Stefan Monnier <monnier@cs.yale.edu> | ||
| 2 | |||
| 3 | * isearch.el (isearch-highlight): Turn internal-find-face into facep. | ||
| 4 | |||
| 1 | 2000-06-01 Dave Love <fx@gnu.org> | 5 | 2000-06-01 Dave Love <fx@gnu.org> |
| 2 | 6 | ||
| 3 | * hl-line.el: Rewritten using define-minor-mode. | 7 | * hl-line.el: Rewritten using define-minor-mode. |
diff --git a/lisp/isearch.el b/lisp/isearch.el index cbb9e84c891..8b0dc932151 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el | |||
| @@ -1498,8 +1498,7 @@ If there is no completion possible, say so and continue searching." | |||
| 1498 | (concat " [" current-input-method-title "]: ") | 1498 | (concat " [" current-input-method-title "]: ") |
| 1499 | ": ") | 1499 | ": ") |
| 1500 | ))) | 1500 | ))) |
| 1501 | (aset m 0 (upcase (aref m 0))) | 1501 | (concat (upcase (substring m 0 1)) (substring m 1)))) |
| 1502 | m)) | ||
| 1503 | 1502 | ||
| 1504 | 1503 | ||
| 1505 | (defun isearch-message-suffix (&optional c-q-hack ellipsis) | 1504 | (defun isearch-message-suffix (&optional c-q-hack ellipsis) |
| @@ -1729,7 +1728,7 @@ If there is no completion possible, say so and continue searching." | |||
| 1729 | (or isearch-overlay (setq isearch-overlay (make-overlay beg end))) | 1728 | (or isearch-overlay (setq isearch-overlay (make-overlay beg end))) |
| 1730 | (move-overlay isearch-overlay beg end (current-buffer)) | 1729 | (move-overlay isearch-overlay beg end (current-buffer)) |
| 1731 | (overlay-put isearch-overlay 'face | 1730 | (overlay-put isearch-overlay 'face |
| 1732 | (if (internal-find-face 'isearch nil) | 1731 | (if (facep 'isearch) |
| 1733 | 'isearch 'region)))) | 1732 | 'isearch 'region)))) |
| 1734 | 1733 | ||
| 1735 | (defun isearch-dehighlight (totally) | 1734 | (defun isearch-dehighlight (totally) |