branch: externals/leaf commit 9797d3258d3d6fd5c02cdb9ff18275a8c64786fd Author: lorniu/sz <lor...@gmail.com> Commit: lorniu/sz <lor...@gmail.com>
Get rid the warning in define minor mode. The warning is `Use keywords rather than deprecated positional arguments to define-minor-mode` when startup. --- leaf.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/leaf.el b/leaf.el index a093970aa0..101a8790e2 100644 --- a/leaf.el +++ b/leaf.el @@ -832,7 +832,8 @@ If NO-DUP is non-nil, do not `push' if the element already exists." (define-minor-mode leaf-key-override-global-mode "A minor mode so that keymap settings override other modes." - t "") + :init-value t + :lighter "") ;; the keymaps in `emulation-mode-map-alists' take precedence over ;; `minor-mode-map-alist'