Emacs: Use Tor over Privoxy
parent
92db2bf15a
commit
c4b6cb7b7e
|
@ -34,6 +34,15 @@
|
|||
;;; Move user-emacs-directory so that user files don't mix with cache files.
|
||||
(setq user-emacs-directory "~/.cache/emacs/")
|
||||
|
||||
;; Tor / Proxy: set up before package initialization.
|
||||
(when (member "privoxy"
|
||||
(mapcar (lambda (p) (alist-get 'comm (process-attributes p)))
|
||||
(list-system-processes)))
|
||||
(require 'url)
|
||||
(setq url-proxy-services
|
||||
'(("http" . "127.0.0.1:8118")
|
||||
("https" . "127.0.0.1:8118"))))
|
||||
|
||||
(when (require 'package nil t)
|
||||
;; Different Emacs versions have different byte code. If a versioned ELPA
|
||||
;; directory is found, use it.
|
||||
|
|
Loading…
Reference in New Issue