[Top][All Lists]

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

[PATCH] Corrected minor documentation issue

From: Andrew Robbins
Subject: [PATCH] Corrected minor documentation issue
Date: Thu, 02 Mar 2017 12:48:25 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

In the TRAMP Info node "Default Method" the examples given in
elisp are improperly formed; specifically, the default methods to
add to `tramp-default-method-alist' are not in the correct
`METHOD HOST USER' argument order (according to the
aforementioned variable's documentation).

What is currently displayed:

(add-to-list 'tramp-default-method-alist '("" "john" "ssh"))
(add-to-list 'tramp-default-method-alist '("lily" "" "rsync"))
(add-to-list 'tramp-default-method-alist
             '("\\`localhost\\'" "\\`root\\'" "su"))

Instead, it should be:

(add-to-list 'tramp-default-method-alist '("ssh" "" "john"))
(add-to-list 'tramp-default-method-alist '("rsync" "" "lily"))
(add-to-list 'tramp-default-method-alist
             '("su" "\\`localhost\\'" "\\`root\\'"))

Attached are the diff and changelog for the necessary changes.

Attachment: ChangeLog
Description: Binary data

Attachment: tramp_doc_correction.diff
Description: Text Data

reply via email to

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