branch: externals/spacious-padding commit a5bfb9b5fe0ef7c5c185b44c42874fa12f4df5ba Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Move the minor mode definition further down --- spacious-padding.el | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/spacious-padding.el b/spacious-padding.el index 70ccb313d5..9171c4f9c4 100644 --- a/spacious-padding.el +++ b/spacious-padding.el @@ -189,14 +189,6 @@ parameter values." (right-divider-width . ,(spacious-padding--get-right-divider-width reset)) (scroll-bar-width . ,(spacious-padding--get-scroll-bar-width reset))))) -;;;###autoload -(define-minor-mode spacious-padding-mode - "Increase the padding/spacing of frames and windows." - :global t - (if spacious-padding-mode - (spacious-padding--enable-mode) - (spacious-padding--disable-mode))) - (defun spacious-padding--enable-mode () "Enable `spacious-padding-mode'." (spacious-padding--store-default-parameters) @@ -210,5 +202,13 @@ parameter values." (spacious-padding-unset-invisible-dividers) (remove-hook 'enable-theme-functions #'spacious-padding-set-invisible-dividers)) +;;;###autoload +(define-minor-mode spacious-padding-mode + "Increase the padding/spacing of frames and windows." + :global t + (if spacious-padding-mode + (spacious-padding--enable-mode) + (spacious-padding--disable-mode))) + (provide 'spacious-padding) ;;; spacious-padding.el ends here