mirror of
https://github.com/golang/go
synced 2024-11-18 08:54:45 -07:00
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>
This commit is contained in:
parent
d2abdd5413
commit
7a73fe1b6c
@ -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))
|
||||
|
||||
@ -237,12 +238,6 @@ set the point to it, switching the current buffer."
|
||||
(interactive)
|
||||
(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
|
||||
|
Loading…
Reference in New Issue
Block a user