summaryrefslogtreecommitdiff
path: root/lisp/core.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/core.el')
-rw-r--r--lisp/core.el13
1 files 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 <next> and <prior> 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)

© 2015 - 2026 Jakob L. Kreuze