Subject: Re: bug#13304: [PATCH] full-path gud breakpoints now don't get confused by tramp

From: Michael Albinus <[email-masked]>
Date: Mon, 31 Dec 2012 16:41:42 +0100

Dima Kogan <[email-masked]> writes:

> +	     (tramp-file-name-localname (tramp-dissect-file-name
> +					 (buffer-file-name) t))

Don't use Tramp internal functions, they are not documented by
intention. You could use instead

(file-remote-p (buffer-file-name) 'localname)

Best regards, Michael.