]> code.delx.au - gnu-emacs-elpa/commitdiff
Move all faces to ivy-faces group
authorOleh Krehel <ohwoeowho@gmail.com>
Sun, 21 Feb 2016 08:35:09 +0000 (09:35 +0100)
committerOleh Krehel <ohwoeowho@gmail.com>
Sun, 21 Feb 2016 08:35:09 +0000 (09:35 +0100)
Fixes #389

ivy.el

diff --git a/ivy.el b/ivy.el
index c3161d4cf9a06a8771cafe40309a19f688a1686e..c762a6ba525989c77632a59c16abb1dec4b4e163 100644 (file)
--- a/ivy.el
+++ b/ivy.el
@@ -46,7 +46,8 @@
 
 (defgroup ivy-faces nil
   "Font-lock faces for `ivy'."
-  :group 'ivy)
+  :group 'ivy
+  :group 'faces)
 
 (defface ivy-current-match
   '((((class color) (background light))
@@ -91,8 +92,6 @@
   '((t :foreground "red" :inherit minibuffer-prompt))
   "Face used by Ivy for a match required prompt.")
 
-(setcdr (assoc load-file-name custom-current-group-alist) 'ivy)
-
 (defface ivy-subdir
   '((t (:inherit 'dired-directory)))
   "Face used by Ivy for highlighting subdirs in the alternatives.")
   '((t :inherit font-lock-builtin-face))
   "Face used by Ivy for matching virtual buffer names.")
 
+(setcdr (assoc load-file-name custom-current-group-alist) 'ivy)
+
 (defcustom ivy-height 10
   "Number of lines for the minibuffer window."
   :type 'integer)