summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2018-03-22 10:49:19 -0700
committerFranck Cuny <franck.cuny@gmail.com>2018-03-22 10:49:19 -0700
commitef3fc7ed059177692ad23d80d29ce313c6bfb6b8 (patch)
treef96fdf09dd916f8b96a00b19a06ad17cc4592a42
parent[emacs] add support for rust. (diff)
downloademacs.d-ef3fc7ed059177692ad23d80d29ce313c6bfb6b8.tar.gz
[emacs] Emacs is not a tool to operate hosts/clusters.
-rw-r--r--emacs.d/lib/twitter.el13
1 files changed, 0 insertions, 13 deletions
diff --git a/emacs.d/lib/twitter.el b/emacs.d/lib/twitter.el
index 80f44b2..1d67008 100644
--- a/emacs.d/lib/twitter.el
+++ b/emacs.d/lib/twitter.el
@@ -72,17 +72,4 @@
   (interactive)
   (fc/remote--dired "nest.smfc.twitter.com"))
 
-;; un/monitor hosts by running mth remotely
-(defun fc/silence-host (host)
-  (interactive "sHostname: ")
-  (let ((default-directory "/ssh:nest.smfc.twitter.com:"))
-    (start-file-process "mth" (get-buffer-create "*mth*")
-                        "/usr/local/bin/mth" "silence" host "99 years")))
-
-(defun fc/unsilence-host (host)
-  (interactive "sHostname: ")
-  (let ((default-directory "/ssh:nest.smfc.twitter.com:"))
-    (start-file-process "mth" (get-buffer-create "*mth*")
-                        "/usr/local/bin/mth" "unsilence" host)))
-
 (provide 'twitter)