branch: externals/vertico
commit 86c6c0034db4e6769ef84877d4c916f0ca71cb38
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>
Use new keymap functions
---
README.org | 2 +-
extensions/vertico-repeat.el | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.org b/README.org
index e2c833203e..b508f74f4f 100644
--- a/README.org
+++ b/README.org
@@ -568,7 +568,7 @@ be disabled with an advice. If you disabled the standard
GUI menu bar and prefer
the Vertico interface you may also overwrite the default F10 keybinding.
#+begin_src emacs-lisp
- (global-set-key [f10] #'tmm-menubar)
+ (keymap-global-set "<f10>" #'tmm-menubar)
(advice-add #'tmm-add-prompt :after #'minibuffer-hide-completions)
#+end_src
diff --git a/extensions/vertico-repeat.el b/extensions/vertico-repeat.el
index 813429ab4d..62a6956c72 100644
--- a/extensions/vertico-repeat.el
+++ b/extensions/vertico-repeat.el
@@ -36,7 +36,7 @@
;; history across Emacs sessions, enable `savehist-mode' and add
;; `vertico-repeat-history' to `savehist-additional-variables'.
;;
-;; (global-set-key "\M-R" #'vertico-repeat)
+;; (keymap-global-set "M-R" #'vertico-repeat)
;; (add-hook 'minibuffer-setup-hook #'vertico-repeat-save)
;;; Code: