From c3b0950639f847264d3d6558d065993fb743376c Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 26 Oct 2019 12:57:09 +0300 Subject: [PATCH] Improve the documentation of 'vc-tor' * lisp/vc/vc-dispatcher.el (vc-tor): Add :version. Enhance the doc string. * etc/NEWS: Announce the new option. --- etc/NEWS | 6 ++++++ lisp/vc/vc-dispatcher.el | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/etc/NEWS b/etc/NEWS index 56127ba6018..137d476c926 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -823,6 +823,12 @@ The default value is 'find-dired-sort-by-filename'. ** Change Logs and VC +--- +*** New user option 'vc-tor'. +When non-nil, this option causes the VC commands to communicate with +the repository via Tor's proxy, using the 'torsocks' wrapper script. +The default is nil. + +++ *** New command 'log-edit-generate-changelog-from-diff', bound to 'C-c C-w'. This generates ChangeLog entries from the VC fileset diff. diff --git a/lisp/vc/vc-dispatcher.el b/lisp/vc/vc-dispatcher.el index bf238dedbb8..40055091ef7 100644 --- a/lisp/vc/vc-dispatcher.el +++ b/lisp/vc/vc-dispatcher.el @@ -268,8 +268,11 @@ and is passed 3 arguments: the COMMAND, the FILES and the FLAGS.") (if (not filelist) "." (mapconcat 'identity filelist " "))) (defcustom vc-tor nil - "If non-nil, communicate with the repository site via Tor." + "If non-nil, communicate with the repository site via Tor. +See https://2019.www.torproject.org/about/overview.html.en and +the man pages for \"torsocks\" for more details about Tor." :type 'boolean + :version "27.1" :group 'vc) ;;;###autoload -- 2.39.2