diff options
-rw-r--r-- | .emacs.d/lisp/init-misc.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-misc.el b/.emacs.d/lisp/init-misc.el index 55ad0eb..31d2358 100644 --- a/.emacs.d/lisp/init-misc.el +++ b/.emacs.d/lisp/init-misc.el @@ -53,11 +53,13 @@ (gx/maybe-require-package 'esup) (when (gx/maybe-require-package 'which-key) + (autoload 'which-key-mode "which-key") (add-hook 'after-init-hook 'which-key-mode)) (with-eval-after-load 'which-key (gx/diminish 'which-key-mode)) (when (gx/maybe-require-package 'undo-tree) + (autoload 'global-undo-tree-mode "undo-tree") (add-hook 'after-init-hook 'global-undo-tree-mode)) (with-eval-after-load 'undo-tree (gx/diminish 'undo-tree-mode)) |