diff --git a/circe-color-nicks.el b/circe-color-nicks.el index dd5e64e0..f8d5571e 100644 --- a/circe-color-nicks.el +++ b/circe-color-nicks.el @@ -81,18 +81,22 @@ See `enable-circe-color-nicks'." recommended is 7:1, or at least 4.5:1 (7 stands for 7:1 here). Lower value allows higher color spread, but could lead to less readability." + :type 'number :group 'circe-color-nicks) (defcustom circe-color-nicks-min-difference 17 "Minimum difference from each other for generated colors." + :type 'integer :group 'circe-color-nicks) (defcustom circe-color-nicks-min-fg-difference 17 "Minimum difference from foreground for generated colors." + :type 'integer :group 'circe-color-nicks) (defcustom circe-color-nicks-min-my-message-difference 0 "Minimum difference from own nick color for generated colors." + :type 'integer :group 'circe-color-nicks) (defcustom circe-color-nicks-everywhere nil diff --git a/circe-display-images.el b/circe-display-images.el index 6c9e29a2..a9f09629 100644 --- a/circe-display-images.el +++ b/circe-display-images.el @@ -77,21 +77,25 @@ See `enable-circe-display-images'." "\\(https?:\/\/[^ ]*?\.\\\(?:png\\|jpg\\|jpeg\\|svg\\|gif\\)\\)" "Regex used to find images in channel messages. This regex needs to be greedy to match multiple images on the same line." - :group 'circe-display-images) + :group 'circe-display-images + :type 'string) (defcustom circe-display-images-max-height 400 "The image's maximum allowed height. Images will be scaled down if they are larger than this" - :group 'circe-display-images) + :group 'circe-display-images + :type 'integer) (defcustom circe-display-images-background nil "Background used for the images background, if image supports transparency. Defaults to the frame's background color." - :group 'circe-display-images) + :group 'circe-display-images + :type 'string) (defcustom circe-display-images-animate-gifs nil "Animate any gifs that are displayed. This might slow down Emacs." - :group 'circe-display-images) + :group 'circe-display-images + :type 'boolean) (defvar-local circe-display-images-text-property-map (make-hash-table :test 'equal)