From 63cba94241a64edc44e452eb9613e8c7da856b7d Mon Sep 17 00:00:00 2001 From: Jacek Swierk Date: Sat, 21 Sep 2024 07:41:37 +0200 Subject: [PATCH] fix: Use correct type for integers with defcustom --- centaur-tabs-elements.el | 9 ++------- centaur-tabs-functions.el | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/centaur-tabs-elements.el b/centaur-tabs-elements.el index 8deb78f..868766c 100644 --- a/centaur-tabs-elements.el +++ b/centaur-tabs-elements.el @@ -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. @@ -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. diff --git a/centaur-tabs-functions.el b/centaur-tabs-functions.el index f9d2343..6445884 100644 --- a/centaur-tabs-functions.el +++ b/centaur-tabs-functions.el @@ -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