Skip to content

Commit

Permalink
Remove hardcoded minibuffer-prompt face.
Browse files Browse the repository at this point in the history
counsel.el: (counsel-default-outline): new face.
(counsel-outline--add-face): use counsel-default-outline.
  • Loading branch information
mookid committed Dec 9, 2018
1 parent 80e3064 commit 82f0f15
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion counsel.el
Expand Up @@ -4256,7 +4256,7 @@ the face to apply."
(custom (nth (1- level)
(or custom-faces counsel-outline-custom-faces)))
(org (format "counsel-org-outline-%d" level))
(t 'minibuffer-prompt))))
(t 'counsel-default-outline))))
(when face
(put-text-property 0 (length name) 'face face name)))
name)
Expand Down Expand Up @@ -4719,6 +4719,10 @@ as arguments."
'((t :inherit org-level-8))
"Face for displaying org headings.")

(defface counsel-default-outline
'((t :inherit minibuffer-prompt))
"Face for displaying default headings.")

(defvar counsel-linux-apps-faulty nil
"List of faulty desktop files.")

Expand Down

0 comments on commit 82f0f15

Please sign in to comment.