From 6eb4964b9846294ff70a9bc4929b2fa762ee0d4d Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Tue, 30 Jan 2024 12:37:19 -0800 Subject: [PATCH] Fix gdb history --- init.el | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/init.el b/init.el index bd87f6d..e858bd0 100644 --- a/init.el +++ b/init.el @@ -509,11 +509,7 @@ visual states." (defun my/project-gdb (project command-line) "Run gdb in the project root" (interactive (let* ((project (project-current t)) - (default-directory (project-root project)) - (gud-gdb-history - (if my/project-gdb-command - (cons my/project-gdb-command gud-gdb-history) - gud-gdb-history))) + (default-directory (project-root project))) (list project (gud-query-cmdline 'gdb)))) (let ((default-directory (project-root project))) (gdb command-line)))