branch: elpa/rainbow-delimiters
commit df63c842a36483988d50e6b60367d3079831ab76
Author: Fanael Linithien <[email protected]>
Commit: Fanael Linithien <[email protected]>
Update the customization instructions.
---
README.markdown | 12 ++++++++++++
rainbow-delimiters.el | 19 ++++++++-----------
2 files changed, 20 insertions(+), 11 deletions(-)
diff --git a/README.markdown b/README.markdown
index 9a6001f079..499826f6d4 100644
--- a/README.markdown
+++ b/README.markdown
@@ -53,3 +53,15 @@ file:
To start the mode automatically in most programming modes (Emacs 24 and above):
(add-hook 'prog-mode-hook #'rainbow-delimiters-mode)
+
+## Customization
+
+To customize various options, including the color theme:
+
+ M-x customize-group rainbow-delimiters
+
+You can specify custom colors by customizing following faces:
+ * Faces take the form `rainbow-delimiters-depth-N-face`, with N being the
+ depth. Depth begins at 1, the outermost color. Faces exist for depths 1-9.
+ * The unmatched delimiter face: `rainbow-delimiters-unmatched-face`.
+ * The mismatched delimiter face: `rainbow-delimiters-mismatched-face`.
diff --git a/rainbow-delimiters.el b/rainbow-delimiters.el
index eb4111cfbd..f2206d9953 100644
--- a/rainbow-delimiters.el
+++ b/rainbow-delimiters.el
@@ -55,17 +55,14 @@
;;; Customization:
-;; To customize various options, including the color scheme:
-;; M-x customize-group rainbow-delimiters
+;; To customize various options, including the color theme:
+;; M-x customize-group rainbow-delimiters
;;
-;; deftheme / color-theme.el users:
-;; You can specify custom colors by adding the appropriate faces to your theme.
-;; - Faces take the form of:
-;; 'rainbow-delimiters-depth-#-face' with # being the depth.
-;; Depth begins at 1, the outermost color.
-;; Faces exist for depths 1-9.
-;; - The unmatched delimiter face (normally colored red) is:
-;; 'rainbow-delimiters-unmatched-face'
+;; You can specify custom colors by customizing following faces:
+;; - Faces take the form `rainbow-delimiters-depth-N-face', with N being the
+;; depth. Depth begins at 1, the outermost color. Faces exist for depths 1-9.
+;; - The unmatched delimiter face: `rainbow-delimiters-unmatched-face'.
+;; - The mismatched delimiter face: `rainbow-delimiters-mismatched-face'.
;;; Code:
@@ -82,7 +79,7 @@
"Faces for successively nested pairs of delimiters.
When depth exceeds innermost defined face, colors cycle back through."
- :tag "Color Scheme"
+ :tag "Color theme"
:group 'rainbow-delimiters
:link '(custom-group-link "rainbow-delimiters")
:prefix "rainbow-delimiters-")