From 814ac876920cbfcf606f5c938f9d722665c46610 Mon Sep 17 00:00:00 2001 From: Miciah Date: Thu, 12 Jul 2018 16:25:55 -0400 Subject: [PATCH] c-c++: Update SPC m g Y command Upstream renamed rtags-cycle-overlays-on-screen to rtags-cycle-through-diagnostics. As a result, SPC m g Y causes the following error: Wrong type argument: commandp, rtags-cycle-overlays-on-screen This commit updates the corresponding key binding to the new command name in order to prevent the error. https://github.com/Andersbakken/rtags/commit/3011f4e787775497d482b16d2f51fb98a5fb3ddc * layers/+lang/c-c++/packages.el (c-c++/init-rtags): Change rtags-cycle-overlays-on-screen to rtags-cycle-through-diagnostics. --- layers/+lang/c-c++/packages.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layers/+lang/c-c++/packages.el b/layers/+lang/c-c++/packages.el index 324c5e151..0418d4f19 100644 --- a/layers/+lang/c-c++/packages.el +++ b/layers/+lang/c-c++/packages.el @@ -218,7 +218,7 @@ "gv" 'rtags-find-virtuals-at-point "gV" 'rtags-print-enum-value-at-point "gX" 'rtags-fix-fixit-at-point - "gY" 'rtags-cycle-overlays-on-screen))))) + "gY" 'rtags-cycle-through-diagnostics))))) (defun c-c++/post-init-realgud() (dolist (mode c-c++-modes)