From 2d11ff50d65b33d5438481ec2fc8ddb528d0a8ab Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Fri, 21 Oct 2022 14:37:44 +1100 Subject: toggle default tor switch. --- README.org | 4 ++-- luwak.el | 2 +- 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. -- cgit v1.2.3