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)))