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: Michael Albinus
Subject: bug#13304: [PATCH] full-path gud breakpoints now don't get confused by tramp
Date: Mon, 31 Dec 2012 16:41:42 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

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)

Best regards, Michael.





reply via email to

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