summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Lassieur <clement.lassieur@parrot.com>2018-02-01 14:42:17 +0100
committerClément Lassieur <clement.lassieur@parrot.com>2018-02-01 15:11:36 +0100
commit92023a8a5b990bfde1bd47fb401494edc6be5146 (patch)
tree37ca65594345b608f922e880aaa29b438708fcf9
parentd8d4be82dcc10dc3e98a6d7e16a3717df8d8c7f7 (diff)
downloadparrot-92023a8a5b990bfde1bd47fb401494edc6be5146.tar.gz
yterm: use (system-name) instead of obsolete system-name
-rw-r--r--parrot-yterm.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/parrot-yterm.el b/parrot-yterm.el
index b188d21..12272d3 100644
--- a/parrot-yterm.el
+++ b/parrot-yterm.el
@@ -49,13 +49,13 @@
;;;###autoload
(defun yterm-ssh (name host &rest args)
- (if (string= system-name host)
+ (if (string= (system-name) host)
(apply 'yterm name args)
(yterm-dumb name
(format "ssh -t %s %s" host (yterm-bash-init args host)))))
(defun yterm-dumb-ssh (name host arg)
- (if (string= system-name host)
+ (if (string= (system-name) host)
(yterm-dumb name arg)
(yterm-dumb
name (format "ssh -t %s '. /etc/profile && . ~/.bash_profile && %s'"