freebsd-ports/japanese/navi2ch/files/patch-navi2ch-vars.el
Hiroki Sato 0c58bf30ac - Add japanese/p5-2chproxy, an HTTP proxy converting contents of 2ch.net
into the old .dat format.
- Update japanese/navi2ch to use japanese/p5-2chproxy as an HTTP server
  by default.
2016-11-16 00:43:30 +00:00

13 lines
437 B
EmacsLisp
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--- navi2ch-vars.el.orig 2015-03-30 02:16:24 UTC
+++ navi2ch-vars.el
@@ -2009,8 +2009,8 @@ Navi2ch$B%+%F%4%j$K!VAw?.95$(!WHD$,<+F0
;; net variables
(defcustom navi2ch-net-http-proxy
- (if (string= (getenv "HTTP_PROXY") "")
- nil
+ (if (string= (or (getenv "HTTP_PROXY") "") "")
+ "127.0.0.1:8080"
(getenv "HTTP_PROXY"))
"*HTTP $B%W%m%-%7$N(B URL$B!#(B"
:type '(choice (string :tag "$B%W%m%-%7$r;XDj(B")