branch: master commit ba2b69c42748a49948165b42b42dd6f397c065fc Author: rocky <ro...@gnu.org> Commit: rocky <ro...@gnu.org>
Remove code added by mistake --- realgud/common/buffer/source.el | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/realgud/common/buffer/source.el b/realgud/common/buffer/source.el index 03e092d..fc6c0cc 100644 --- a/realgud/common/buffer/source.el +++ b/realgud/common/buffer/source.el @@ -160,19 +160,6 @@ in it with those from CMDPROC-BUFFER" (realgud-srcbuf-info-cmdproc= cmdproc-buffer) (realgud-srcbuf-init src-buffer cmdproc-buffer)))) -;; FIXME: rewrite to add prompt function that only suggests -;; command buffers; -(defun realgud:cmdbuf-associate-buffer-name(cmdbuf-name) - "Associate a command buffer with for the current buffer which is -assumed to be a source-code buffer" - (interactive "brealgud command buffer: ") - (let ((cmdbuf (get-buffer cmdbuf-name))) - (unless (realgud-cmdbuf? cmdbuf) - (error "%s doesn't smell like a command buffer" cmdbuf-name)) - (realgud-srcbuf-init-or-update (current-buffer) cmdbuf ) - (realgud-short-key-mode-setup t) - )) - (defun realgud:cmdbuf-associate () "Associate a command buffer with the current (source-code) buffer." ;; realgud-short-key-mode-setup will attempt to associate if needed.