Emacs: Remove realgud.

This commit is contained in:
tastytea 2020-06-01 17:55:57 +02:00
parent e0bedc6bd6
commit 1d98fccf74

View File

@ -1,6 +1,6 @@
;;; c++.el --- C++ settings. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-06-01T17:49:06+0200>
;; Time-stamp: <2020-06-01T17:55:46+0200>
;;; Commentary:
@ -102,25 +102,6 @@
:custom ((gdb-many-windows t)
(gdb-show-main t)))
;; GUI for gdb and other debuggers.
(use-package realgud
:after (cc-mode)
:functions (realgud:gdb)
:config
(defun my/launch-gdb ()
"Load realgud and launch gdb."
(interactive)
(load-library "realgud")
(realgud:gdb))
:bind
(:map c-mode-base-map
("C-c C-g" . my/launch-gdb)
("M-<down>" . nil) ; Disabled, because I use them for scrolling.
("M-<up>" . nil)) ; ^ FIXME: Does not work. ^
)
;; Extra highlighting.
(use-package modern-cpp-font-lock
:diminish modern-c++-font-lock-mode