emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ssh-deploy 9107add 079/173: Fixed code notices in new c


From: Stefan Monnier
Subject: [elpa] externals/ssh-deploy 9107add 079/173: Fixed code notices in new code related to eshell integration
Date: Sat, 20 Oct 2018 10:36:34 -0400 (EDT)

branch: externals/ssh-deploy
commit 9107addc7ea4f5ec71dcd0b3ad5e778dfa6a687d
Author: Christian Johansson <address@hidden>
Commit: Christian Johansson <address@hidden>

    Fixed code notices in new code related to eshell integration
---
 ssh-deploy.el | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/ssh-deploy.el b/ssh-deploy.el
index 84aaeef..a0b209e 100644
--- a/ssh-deploy.el
+++ b/ssh-deploy.el
@@ -3,8 +3,8 @@
 ;; Author: Christian Johansson <github.com/cjohansson>
 ;; Maintainer: Christian Johansson <github.com/cjohansson>
 ;; Created: 5 Jul 2016
-;; Modified: 3 Aug 2017
-;; Version: 1.61
+;; Modified: 4 Sep 2017
+;; Version: 1.62
 ;; Keywords: tools, convenience
 ;; URL: https://github.com/cjohansson/emacs-ssh-deploy
 
@@ -537,13 +537,14 @@
             (let ((old-directory default-directory))
               (require 'eshell)
               (message "Opening eshell on '%s'.." command)
+              (defvar eshell-buffer-name)
               (setq eshell-buffer-name (alist-get 'server remote-root))
               (let ((eshell-buffer (eshell)))
-                (end-of-buffer)
+                (goto-char (point-max))
                 (eshell-kill-input)
                 (insert (concat "cd " command))
                 (eshell-send-input)
-                (end-of-buffer))))))))
+                (goto-char (point-max)))))))))
 
 ;;;### autoload
 (defun ssh-deploy-remote-terminal (remote-host-string)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]