summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2023-06-12 21:52:38 +0800
committerJSDurand <mmemmew@gmail.com>2023-06-12 21:52:38 +0800
commit79ecd1482c8df1fa2f0d3f2428637ea6b2334d3e (patch)
tree27bb7c70c8cafb5f918f24c6631fcf064ef6d3f5
parentd828d7ccffcdac7ba13912f05b7c82ac667a2b3d (diff)
basic: `find-function-on-key`
* basic.el (help-map): Bind `find-function-on-key` to 'M-f' in the help-mode so that I can access this helpful functionality easily.
-rw-r--r--basic.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/basic.el b/basic.el
index fbd3b6f..bc0b321 100644
--- a/basic.el
+++ b/basic.el
@@ -135,6 +135,13 @@
(define-key global-map (vector ?\H-e) #'eshell)
+;;; Find function on key
+
+;; I think it is a useful addition to the help system to bind this to
+;; the help map.
+
+(define-key help-map (vector ?\M-f) #'find-function-on-key)
+
;;; bury-buffer
(define-key global-map (vector ?\C-\s-b) #'bury-buffer)