diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2020-10-19 11:26:55 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2020-10-19 11:28:16 -0700 |
commit | 0934074f4372769f6aabd6032345e6f09a0d0303 (patch) | |
tree | 6fe7115a22632f2f5029fef38e6147d5092474de | |
parent | 5009f2d34bfea91e476ac1fbcbe034642fe035c3 (diff) | |
download | dotfiles-0934074f4372769f6aabd6032345e6f09a0d0303.tar.gz |
comments
-rw-r--r-- | .emacs.d/init-spw.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.emacs.d/init-spw.el b/.emacs.d/init-spw.el index df1f32c5..22e8c074 100644 --- a/.emacs.d/init-spw.el +++ b/.emacs.d/init-spw.el @@ -2474,15 +2474,16 @@ mutt's review view, after exiting EDITOR." ;; Does not support hiding GUD's window(s). Just use C-x 1 from the source ;; buffer. Then call this command to bring GUD's window(s) back. ;; -;; The idea is to have a one Emacs frame for serious source editing, from -;; which `compile' or `project-compile' is called, and one Emacs frame for GUD +;; The idea is to have a one Emacs tab or frame for serious source editing, +;; from which `compile' or `project-compile' is called, and one Emacs tab or +;; frame for GUD (defun spw/run-or-restore-gud (arg) (interactive "p") (if (and (boundp 'gud-comint-buffer) (get-buffer-process gud-comint-buffer)) (cl-case arg (4 ;; restart the GUD session, either to debug something else, - ;; because we can't seem to set breakpoints anymore + ;; or because we can't seem to set breakpoints anymore (spw/quit-gud) (spw/start-gud)) (16 ;; quit the GUD session |