aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/lisp/my/my-utils.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/lisp/my/my-utils.el')
-rw-r--r--emacs/.emacs.d/lisp/my/my-utils.el11
1 files changed, 0 insertions, 11 deletions
diff --git a/emacs/.emacs.d/lisp/my/my-utils.el b/emacs/.emacs.d/lisp/my/my-utils.el
index ff65420..98c8caa 100644
--- a/emacs/.emacs.d/lisp/my/my-utils.el
+++ b/emacs/.emacs.d/lisp/my/my-utils.el
@@ -312,17 +312,6 @@ Example: (format-time-string ... (my-time-from-epoch 1698582504))"
(apply 'call-process (append (list command nil t nil) args))
(buffer-string)))
-(defun my-call-process-with-torsocks
- (program &optional infile destination display &rest args)
- (apply 'call-process
- (append (list "torsocks" infile destination display program) args)))
-
-(defun my-start-process-with-torsocks (no-tor name buffer program &rest program-args)
- (if no-tor
- (apply 'start-process (append (list name buffer program) program-args))
- (apply 'start-process
- (append (list name buffer "torsocks" program) program-args))))
-
(defun my-touch-new-file (filename)
"Touch a new file."
(with-temp-buffer (write-file filename)))