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

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

Re: Editing a file as root


From: Kai Grossjohann
Subject: Re: Editing a file as root
Date: Sun, 21 Dec 2003 13:52:09 +0000
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux)

Piet van Oostrum <piet@cs.uu.nl> writes:

> (defadvice tramp-maybe-open-connection 
>   (around set-process-connection-type)
>   "Set process-connection-type to pty."
>   (let ((process-connection-type 'pty))
>     ad-do-it))
> (ad-activate 'tramp-maybe-open-connection)

Cool.  I've now added code in tramp-maybe-open-connection to do this.
I hope it works.  Will commit when Savannah is back up.

Kai



reply via email to

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