emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/go-mode dc424ef 361/495: cmd/guru: emacs: add default key


From: ELPA Syncer
Subject: [nongnu] elpa/go-mode dc424ef 361/495: cmd/guru: emacs: add default key binding for whicherrs
Date: Sat, 7 Aug 2021 09:05:48 -0400 (EDT)

branch: elpa/go-mode
commit dc424ef66bd02b154d45c101cc8d2dbe1614ca17
Author: Konstantin Shaposhnikov <k.shaposhnikov@gmail.com>
Commit: Dominik Honnef <dominik@honnef.co>

    cmd/guru: emacs: add default key binding for whicherrs
    
    Bind go-guru-whicherrs to `C-C C-o e'
    
    Also remove go-guru-callgraph as callgraph mode is not supported
    by guru.
    
    Change-Id: Id233d178629a3cafc00e4f9640191c3d3c673cf1
    Reviewed-on: https://go-review.googlesource.com/20310
    Reviewed-by: Alan Donovan <adonovan@google.com>
---
 guru_import/cmd/guru/go-guru.el | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/guru_import/cmd/guru/go-guru.el b/guru_import/cmd/guru/go-guru.el
index 1894aa3..de78d7a 100644
--- a/guru_import/cmd/guru/go-guru.el
+++ b/guru_import/cmd/guru/go-guru.el
@@ -60,6 +60,7 @@
   (define-key m "j" #'go-guru-definition) ; j for jump
   (define-key m "p" #'go-guru-pointsto)
   (define-key m "s" #'go-guru-callstack) ; s for stack
+  (define-key m "e" #'go-guru-whicherrs) ; e for error
   (define-key m "<" #'go-guru-callers)
   (define-key m ">" #'go-guru-callees))
 
@@ -238,12 +239,6 @@ set the point to it, switching the current buffer."
   (go-guru--run "callers" t))
 
 ;;;###autoload
-(defun go-guru-callgraph ()
-  "Show the callgraph of the current program."
-  (interactive)
-  (go-guru--run "callgraph" t))
-
-;;;###autoload
 (defun go-guru-callstack ()
   "Show an arbitrary path from a root of the call graph to the
 function containing the current point."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]