aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-10-21 14:37:44 +1100
committerYuchen Pei <hi@ypei.me>2022-10-21 14:37:44 +1100
commit2d11ff50d65b33d5438481ec2fc8ddb528d0a8ab (patch)
tree139434e34a2a2e3967a4862b0a2d740fc14b2c7e
parent08855c83c405aac16522ea56e3a60dee5c24d9f3 (diff)
toggle default tor switch.
-rw-r--r--README.org4
-rw-r--r--luwak.el2
2 files changed, 3 insertions, 3 deletions
diff --git a/README.org b/README.org
index 290a22a..3ffec52 100644
--- a/README.org
+++ b/README.org
@@ -27,8 +27,8 @@ Features:
To use, clone this repo, add to ~load-path~ and ~require~. Make sure
you have lynx installed in your system (~apt install lynx~, ~pacman -S
-lynx~ etc.). By default the browser uses torsocks, which can be
-disabled with a prefix arg or switching ~luwak-tor-switch~ to ~t~.
+lynx~ etc.). By default the browser does not torsocks, which can be
+disabled with a prefix arg or switching ~luwak-tor-switch~ to ~nil~.
#+begin_src elisp
(add-to-list 'load-path "~/.emacs.d/luwak")
diff --git a/luwak.el b/luwak.el
index 745309d..b0f7440 100644
--- a/luwak.el
+++ b/luwak.el
@@ -43,7 +43,7 @@
(defcustom luwak-url-rewrite-function 'identity
"Function to rewrite url before loading."
:group 'luwak :type '(function))
-(defcustom luwak-tor-switch nil
+(defcustom luwak-tor-switch t
"Switch behaviour of prefix arg concerning the use of tor.
When nil, use tor by default, and not use it with a prefix arg.