Skip to content

Commit

Permalink
Merge pull request #242 from gessen/fix/custom-int
Browse files Browse the repository at this point in the history
fix: Use correct type for integers with defcustom
  • Loading branch information
jcs090218 authored Sep 21, 2024
2 parents 38598c2 + 63cba94 commit 3d78b1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions centaur-tabs-elements.el
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,6 @@
:group 'centaur-tabs
:type 'string)

(defcustom centaur-tabs-label-fixed-length 0
"Fixed length of label. Set to 0 if dynamic."
:group 'centaur-tabs
:type 'int)

(defcustom centaur-tabs-background-color
(face-background 'centaur-tabs-default nil 'default)
"*Background color of the tab bar.
Expand All @@ -153,12 +148,12 @@ background color of the `default' face otherwise."
(defcustom centaur-tabs-height 22
"The height of tab."
:group 'centaur-tabs
:type 'int)
:type 'integer)

(defcustom centaur-tabs-bar-height (+ 8 centaur-tabs-height)
"The height of bar."
:group 'centaur-tabs
:type 'int)
:type 'integer)

(defcustom centaur-tabs-mouse-pointer 'hand
"Cursor to display when hovering the tabs.
Expand Down
2 changes: 1 addition & 1 deletion centaur-tabs-functions.el
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ name of this variable."
(defcustom centaur-tabs-label-fixed-length 0
"Fixed length of label. Set to 0 if dynamic."
:group 'centaur-tabs
:type 'int)
:type 'integer)

(defcustom centaur-tabs-hide-tabs-hooks
'(magit-status-mode-hook
Expand Down

0 comments on commit 3d78b1e

Please sign in to comment.