Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Use correct type for integers with defcustom #242

Merged
merged 1 commit into from
Sep 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is defined also in centaur-tabs-functions.el. It's used only in that file as well.

"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