Commit b21d3ceb authored by Michael Albinus's avatar Michael Albinus
Browse files

* progmodes/gud.el (gud-common-init): Check for remoteness of

`file', and not of `default-directory'.
parent 8fbcce2d
2010-07-28 Michael Albinus <michael.albinus@gmx.de>
* progmodes/gud.el (gud-common-init): Check for remoteness of
`file', and not of `default-directory'.
2010-07-28 Michael Albinus <michael.albinus@gmx.de>
 
* net/tramp.el (tramp-methods): Move hostname to the end in all
......
......@@ -145,7 +145,7 @@ Used to grey out relevant toolbar icons.")
(gud-call "suspend"))
((eq gud-minor-mode 'gdbmi)
(gud-call (gdb-gud-context-command "-exec-interrupt")))
(t
(t
(comint-interrupt-subjob)))))
(easy-mmode-defmap gud-menu-map
......@@ -2513,7 +2513,7 @@ comint mode, which see."
(setq w (cdr w)))
(if w
(setcar w
(if (file-remote-p default-directory)
(if (file-remote-p file)
;; Tramp has already been loaded if we are here.
(setq file (tramp-file-name-localname
(tramp-dissect-file-name file)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment