summary refs log tree commit diff stats
path: root/lisp/+link-hint.el
diff options
context:
space:
mode:
authorCase Duckworth2022-01-05 11:24:46 -0600
committerCase Duckworth2022-01-05 11:24:46 -0600
commitf66b316f8a027a30f127220f46bec4f743fe3dee (patch)
tree7885a1d2971aca3095f93f1ab948e54e1e0d15d5 /lisp/+link-hint.el
parentDon't ensure functions in :+key, :+leader, :+menu (diff)
downloademacs-f66b316f8a027a30f127220f46bec4f743fe3dee.tar.gz
emacs-f66b316f8a027a30f127220f46bec4f743fe3dee.zip
Add +link-hint-map
Diffstat (limited to 'lisp/+link-hint.el')
-rw-r--r--lisp/+link-hint.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/+link-hint.el b/lisp/+link-hint.el index e9d215a..e2d2a84 100644 --- a/lisp/+link-hint.el +++ b/lisp/+link-hint.el
@@ -22,6 +22,9 @@
22 w3m-message-link) 22 w3m-message-link)
23 "Link types to define `:open-secondary' for.") 23 "Link types to define `:open-secondary' for.")
24 24
25(defvar +link-hint-map (make-sparse-keymap)
26 "Keymap for `link-hint' functionality.")
27
25(defun +link-hint-setup-open-secondary (&optional types) 28(defun +link-hint-setup-open-secondary (&optional types)
26 "Define the `:open-secondary' link-hint type for TYPES. 29 "Define the `:open-secondary' link-hint type for TYPES.
27If TYPES is nil, define it for `+link-hint-open-secondary-types'." 30If TYPES is nil, define it for `+link-hint-open-secondary-types'."