From 084618a930ddbe57903924e0635e5ca83c7dcb5c Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 5 Jan 2022 17:12:03 -0600 Subject: Break function into library --- init.el | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'init.el') diff --git a/init.el b/init.el index 84dfceb..51bcf31 100644 --- a/init.el +++ b/init.el @@ -1320,8 +1320,6 @@ See also `crux-reopen-as-root-mode'." (setup (:straight zoom-frm)) (setup (:straight zzz-to-char) - (:+key "M-z" (lambda (prefix) - "Call `zzz-to-char' or `zzz-up-to-char' with PREFIX arg." - (interactive "P") - (call-interactively - (if prefix #'zzz-up-to-char #'zzz-to-char))))) + (:require +zzz-to-char) + (:option zzz-to-char-reach 1024) + (:global "M-z" #'+zzz-to-char)) -- cgit 1.4.1-21-gabe81