bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Dima Kogan
Subject: bug#13304: [PATCH] full-path gud breakpoints now don't get confused by tramp
Date: Mon, 31 Dec 2012 11:53:13 -0800

> On Mon, 31 Dec 2012 16:41:42 +0100
> Michael Albinus <michael.albinus@gmx.de> wrote:
>
> Dima Kogan <dima@secretsauce.net> 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)

Great point; this is really much better. I'm attaching an updated patch.

Attachment: 0001-full-path-gud-breakpoints-now-don-t-get-confused-by-.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]