From 5be2f3fbe5e0d82a8a73a316dce3aaef2afa758e Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Sun, 23 Oct 2022 18:43:53 -0400 Subject: Fix warnings for baby-scroll-mode --- lisp/core.el | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/lisp/core.el b/lisp/core.el index 972291b..df40e60 100644 --- a/lisp/core.el +++ b/lisp/core.el @@ -191,13 +191,20 @@ line." ;; them to functions for scolling by one line at a time instead. Sometimes ;; useful when perusing IRC logs. +(defgroup baby-scroll () + "Minor mode for subtle scrolling commands." + :group 'convenience) + (define-minor-mode baby-scroll-mode "Toggle `baby-scroll-mode'. Minor mode which remaps and to less extreme scrolling functions." - nil "Baby Scroll" '(([next] . scroll-up-line) - ([prior] . scroll-down-line)) - :global t) + :global t + :lighter "Baby Scroll" + :group 'baby-scroll + :keymap '(([next] . scroll-up-line) + ([prior] . scroll-down-line)) + nil) (baby-scroll-mode) -- cgit v1.3