From 70c6fcef028f28eda52bb7d45a7e89781ac80bcf Mon Sep 17 00:00:00 2001 From: syl20bnr Date: Thu, 12 Jan 2017 22:33:09 -0500 Subject: [PATCH] common-lisp: add SPC m h i to inspect a definition --- layers/+lang/common-lisp/README.org | 3 ++- layers/+lang/common-lisp/packages.el | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/layers/+lang/common-lisp/README.org b/layers/+lang/common-lisp/README.org index d49267acc..a591f685c 100644 --- a/layers/+lang/common-lisp/README.org +++ b/layers/+lang/common-lisp/README.org @@ -53,6 +53,7 @@ As this state works the same for all files, the documentation is in global | ~SPC m h a~ | SLIME apropos | | ~SPC m h d~ | Disassemble symbol at point | | ~SPC m h h~ | Describe symbol at point | +| ~SPC m h i~ | Inspect definition | | ~SPC m h H~ | Hyperspec lookup symbol at point | | ~SPC m h p~ | Browse apropos results for a package's exported symbols | | ~SPC m h t~ | Toggle tracing of the function at point | @@ -96,7 +97,7 @@ As this state works the same for all files, the documentation is in global | Key Binding | Description | |---------------------------+--------------------| -| ~SPC m g g~ | Inspect definition | +| ~SPC m g g~ | Go to definition | | ~SPC m g b~ | Go back | | ~SPC m g n~ | Next note | | ~SPC m g N~ or ~SPC m g p | Previous note | diff --git a/layers/+lang/common-lisp/packages.el b/layers/+lang/common-lisp/packages.el index aff29d722..999a665c4 100644 --- a/layers/+lang/common-lisp/packages.el +++ b/layers/+lang/common-lisp/packages.el @@ -89,6 +89,7 @@ "hd" 'slime-disassemble-symbol "hh" 'slime-describe-symbol "hH" 'slime-hyperspec-lookup + "hi" 'slime-inspect-definition "hp" 'slime-apropos-package "ht" 'slime-toggle-trace-fdefinition "hT" 'slime-untrace-all