summaryrefslogtreecommitdiff
path: root/.emacs.d/site-lisp
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-08-05 13:32:30 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-08-05 13:33:26 -0700
commitec415ccfbd2013c7cdd1f32267760ca6a6318dd2 (patch)
treea084c881aac9aa67bcc93c25d59b78ba90f207f9 /.emacs.d/site-lisp
parent92c83d84987c3f51738deca81207ad3c70d96f90 (diff)
downloaddotfiles-ec415ccfbd2013c7cdd1f32267760ca6a6318dd2.tar.gz
profile-dotemacs: fix use of defface
Diffstat (limited to '.emacs.d/site-lisp')
-rw-r--r--.emacs.d/site-lisp/profile-dotemacs.el13
1 files changed, 10 insertions, 3 deletions
diff --git a/.emacs.d/site-lisp/profile-dotemacs.el b/.emacs.d/site-lisp/profile-dotemacs.el
index 9f8077ac..d7454e51 100644
--- a/.emacs.d/site-lisp/profile-dotemacs.el
+++ b/.emacs.d/site-lisp/profile-dotemacs.el
@@ -77,6 +77,10 @@
;; User variables
+(defgroup profile-dotemacs nil
+ "Customization of profile-dotemacs."
+ :group 'startup)
+
(defvar profile-dotemacs-file "~/.emacs.d/init.el"
"File to be profiled.")
@@ -88,17 +92,20 @@ grayed out.")
(defface profile-dotemacs-time-face
'((((background dark)) (:background "OrangeRed1"))
(t (:background "red3")))
- "Background color to indicate percentage of total time.")
+ "Background color to indicate percentage of total time."
+ :group 'profile-dotemacs)
(defface profile-dotemacs-low-percentage-face
'((((background dark)) (:foreground "gray25"))
(t (:foreground "gray75")))
- "Face for sexps below `profile-dotemacs-low-percentage'.")
+ "Face for sexps below `profile-dotemacs-low-percentage'."
+ :group 'profile-dotemacs)
(defface profile-dotemacs-highlight-face
'((((background dark)) (:background "blue"))
(t (:background "yellow")))
- "Highlight face for benchmark results.")
+ "Highlight face for benchmark results."
+ :group 'profile-dotemacs)
;; Main function