diff options
| author | Kim F. Storm | 2005-06-06 12:48:02 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2005-06-06 12:48:02 +0000 |
| commit | ccba8bb6e250c785266eacae4bbe103c9360a331 (patch) | |
| tree | 409012e32acd38d6d5fcf475ed303d2cccc26f5e | |
| parent | a89da416f554e2df08968557abdefb339f493b95 (diff) | |
| download | emacs-ccba8bb6e250c785266eacae4bbe103c9360a331.tar.gz emacs-ccba8bb6e250c785266eacae4bbe103c9360a331.zip | |
(ido-first-match, ido-only-match, ido-subdir)
(ido-indicator): Remove -face suffix from face names.
| -rw-r--r-- | lisp/ido.el | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lisp/ido.el b/lisp/ido.el index b01e9e35c37..47372afec52 100644 --- a/lisp/ido.el +++ b/lisp/ido.el | |||
| @@ -299,8 +299,8 @@ | |||
| 299 | ;; ------------ | 299 | ;; ------------ |
| 300 | 300 | ||
| 301 | ;; The highlighting of matching items is controlled via ido-use-faces. | 301 | ;; The highlighting of matching items is controlled via ido-use-faces. |
| 302 | ;; The faces used are ido-first-match-face, ido-only-match-face and | 302 | ;; The faces used are ido-first-match, ido-only-match and |
| 303 | ;; ido-subdir-face. | 303 | ;; ido-subdir. |
| 304 | ;; Colouring of the matching item was suggested by | 304 | ;; Colouring of the matching item was suggested by |
| 305 | ;; Carsten Dominik (dominik@strw.leidenuniv.nl). | 305 | ;; Carsten Dominik (dominik@strw.leidenuniv.nl). |
| 306 | 306 | ||
| @@ -740,17 +740,17 @@ subdirs in the alternatives." | |||
| 740 | :type 'boolean | 740 | :type 'boolean |
| 741 | :group 'ido) | 741 | :group 'ido) |
| 742 | 742 | ||
| 743 | (defface ido-first-match-face '((t (:bold t))) | 743 | (defface ido-first-match '((t (:bold t))) |
| 744 | "*Font used by ido for highlighting first match." | 744 | "*Font used by ido for highlighting first match." |
| 745 | :group 'ido) | 745 | :group 'ido) |
| 746 | 746 | ||
| 747 | (defface ido-only-match-face '((((class color)) | 747 | (defface ido-only-match '((((class color)) |
| 748 | (:foreground "ForestGreen")) | 748 | (:foreground "ForestGreen")) |
| 749 | (t (:italic t))) | 749 | (t (:italic t))) |
| 750 | "*Font used by ido for highlighting only match." | 750 | "*Font used by ido for highlighting only match." |
| 751 | :group 'ido) | 751 | :group 'ido) |
| 752 | 752 | ||
| 753 | (defface ido-subdir-face '((((min-colors 88) (class color)) | 753 | (defface ido-subdir '((((min-colors 88) (class color)) |
| 754 | (:foreground "red1")) | 754 | (:foreground "red1")) |
| 755 | (((class color)) | 755 | (((class color)) |
| 756 | (:foreground "red")) | 756 | (:foreground "red")) |
| @@ -758,7 +758,7 @@ subdirs in the alternatives." | |||
| 758 | "*Font used by ido for highlighting subdirs in the alternatives." | 758 | "*Font used by ido for highlighting subdirs in the alternatives." |
| 759 | :group 'ido) | 759 | :group 'ido) |
| 760 | 760 | ||
| 761 | (defface ido-indicator-face '((((min-colors 88) (class color)) | 761 | (defface ido-indicator '((((min-colors 88) (class color)) |
| 762 | (:foreground "yellow1" | 762 | (:foreground "yellow1" |
| 763 | :background "red1" | 763 | :background "red1" |
| 764 | :width condensed)) | 764 | :width condensed)) |
| @@ -4039,7 +4039,7 @@ For details of keybindings, do `\\[describe-function] ido-find-file'." | |||
| 4039 | first) | 4039 | first) |
| 4040 | 4040 | ||
| 4041 | (if (and ind ido-use-faces) | 4041 | (if (and ind ido-use-faces) |
| 4042 | (put-text-property 0 1 'face 'ido-indicator-face ind)) | 4042 | (put-text-property 0 1 'face 'ido-indicator ind)) |
| 4043 | 4043 | ||
| 4044 | (if (and ido-use-faces comps) | 4044 | (if (and ido-use-faces comps) |
| 4045 | (let* ((fn (ido-name (car comps))) | 4045 | (let* ((fn (ido-name (car comps))) |
| @@ -4047,8 +4047,8 @@ For details of keybindings, do `\\[describe-function] ido-find-file'." | |||
| 4047 | (setq first (format "%s" fn)) | 4047 | (setq first (format "%s" fn)) |
| 4048 | (put-text-property 0 ln 'face | 4048 | (put-text-property 0 ln 'face |
| 4049 | (if (= (length comps) 1) | 4049 | (if (= (length comps) 1) |
| 4050 | 'ido-only-match-face | 4050 | 'ido-only-match |
| 4051 | 'ido-first-match-face) | 4051 | 'ido-first-match) |
| 4052 | first) | 4052 | first) |
| 4053 | (if ind (setq first (concat first ind))) | 4053 | (if ind (setq first (concat first ind))) |
| 4054 | (setq comps (cons first (cdr comps))))) | 4054 | (setq comps (cons first (cdr comps))))) |
| @@ -4091,7 +4091,7 @@ For details of keybindings, do `\\[describe-function] ido-find-file'." | |||
| 4091 | (if (and ido-use-faces | 4091 | (if (and ido-use-faces |
| 4092 | (not (string= str first)) | 4092 | (not (string= str first)) |
| 4093 | (ido-final-slash str)) | 4093 | (ido-final-slash str)) |
| 4094 | (put-text-property 0 (length str) 'face 'ido-subdir-face str)) | 4094 | (put-text-property 0 (length str) 'face 'ido-subdir str)) |
| 4095 | str))))) | 4095 | str))))) |
| 4096 | comps)))))) | 4096 | comps)))))) |
| 4097 | 4097 | ||