diff options
| author | Michael Albinus | 2010-07-28 12:08:16 +0200 |
|---|---|---|
| committer | Michael Albinus | 2010-07-28 12:08:16 +0200 |
| commit | b21d3ceb6fb97875725c03b79670cf8c78544b53 (patch) | |
| tree | 1b926980e5d224b13a758fd9c18784e934d6c385 | |
| parent | 8fbcce2d5a7bfa1a9bf4648408d688d175b1a4ee (diff) | |
| download | emacs-b21d3ceb6fb97875725c03b79670cf8c78544b53.tar.gz emacs-b21d3ceb6fb97875725c03b79670cf8c78544b53.zip | |
* progmodes/gud.el (gud-common-init): Check for remoteness of
`file', and not of `default-directory'.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/gud.el | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6d329d663ab..7f3fc15e753 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,10 @@ | |||
| 1 | 2010-07-28 Michael Albinus <michael.albinus@gmx.de> | 1 | 2010-07-28 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 2 | ||
| 3 | * progmodes/gud.el (gud-common-init): Check for remoteness of | ||
| 4 | `file', and not of `default-directory'. | ||
| 5 | |||
| 6 | 2010-07-28 Michael Albinus <michael.albinus@gmx.de> | ||
| 7 | |||
| 3 | * net/tramp.el (tramp-methods): Move hostname to the end in all | 8 | * net/tramp.el (tramp-methods): Move hostname to the end in all |
| 4 | ssh `tramp-login-args'. | 9 | ssh `tramp-login-args'. |
| 5 | (tramp-verbose): Describe verbose level 9. | 10 | (tramp-verbose): Describe verbose level 9. |
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index da38a086782..d20a14682c7 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el | |||
| @@ -145,7 +145,7 @@ Used to grey out relevant toolbar icons.") | |||
| 145 | (gud-call "suspend")) | 145 | (gud-call "suspend")) |
| 146 | ((eq gud-minor-mode 'gdbmi) | 146 | ((eq gud-minor-mode 'gdbmi) |
| 147 | (gud-call (gdb-gud-context-command "-exec-interrupt"))) | 147 | (gud-call (gdb-gud-context-command "-exec-interrupt"))) |
| 148 | (t | 148 | (t |
| 149 | (comint-interrupt-subjob))))) | 149 | (comint-interrupt-subjob))))) |
| 150 | 150 | ||
| 151 | (easy-mmode-defmap gud-menu-map | 151 | (easy-mmode-defmap gud-menu-map |
| @@ -2513,7 +2513,7 @@ comint mode, which see." | |||
| 2513 | (setq w (cdr w))) | 2513 | (setq w (cdr w))) |
| 2514 | (if w | 2514 | (if w |
| 2515 | (setcar w | 2515 | (setcar w |
| 2516 | (if (file-remote-p default-directory) | 2516 | (if (file-remote-p file) |
| 2517 | ;; Tramp has already been loaded if we are here. | 2517 | ;; Tramp has already been loaded if we are here. |
| 2518 | (setq file (tramp-file-name-localname | 2518 | (setq file (tramp-file-name-localname |
| 2519 | (tramp-dissect-file-name file))) | 2519 | (tramp-dissect-file-name file))) |