summaryrefslogtreecommitdiffstats
path: root/shell/_emacs/site-lisp/dconf-proxy.el
diff options
context:
space:
mode:
Diffstat (limited to 'shell/_emacs/site-lisp/dconf-proxy.el')
-rw-r--r--shell/_emacs/site-lisp/dconf-proxy.el14
1 files changed, 0 insertions, 14 deletions
diff --git a/shell/_emacs/site-lisp/dconf-proxy.el b/shell/_emacs/site-lisp/dconf-proxy.el
deleted file mode 100644
index 954852a..0000000
--- a/shell/_emacs/site-lisp/dconf-proxy.el
+++ /dev/null
@@ -1,14 +0,0 @@
-(defun refresh-proxy-settings ()
- (interactive)
- (if (string= (shell-command-to-string "dconf read /system/proxy/http/enabled") "true\n")
- (setq url-proxy-services
- `(("http" .
- ,(concat
- (car (split-string-and-unquote ;; split string to remove single quotes and newline
- (shell-command-to-string "dconf read /system/proxy/http/host") '"'"))
- ":"
- (car (split-string-and-unquote ;; split string to remove newline
- (shell-command-to-string "dconf read /system/proxy/http/port") '"\n"))))))
- (setq url-proxy-services nil)))
-
-(provide 'dconf-proxy)