Skip to content

Commit

Permalink
Declare all missing defcustom types
Browse files Browse the repository at this point in the history
  • Loading branch information
wasamasa committed Mar 10, 2019
1 parent fedfa7e commit 964441f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions circe-color-nicks.el
Expand Up @@ -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
Expand Down
12 changes: 8 additions & 4 deletions circe-display-images.el
Expand Up @@ -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)
Expand Down

0 comments on commit 964441f

Please sign in to comment.