* net/tramp-sh.el (tramp-sh-handle-start-file-process):
authorMichael Albinus <michael.albinus@gmx.de>
Sat, 8 Feb 2014 13:35:15 +0000 (14:35 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Sat, 8 Feb 2014 13:35:15 +0000 (14:35 +0100)
Insert output at end of buffer.  (Bug#16120)

lisp/ChangeLog
lisp/net/tramp-sh.el

index 0ddce4d..b17f6ab 100644 (file)
@@ -1,3 +1,8 @@
+2014-02-08  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp-sh.el (tramp-sh-handle-start-file-process):
+       Insert output at end of buffer.  (Bug#16120)
+
 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
 
        * simple.el (choose-completion-string-functions): Document new
index d6486de..8d3c4c2 100644 (file)
@@ -2758,7 +2758,7 @@ the result will be a local, non-Tramp, filename."
                ;; `verify-visited-file-modtime'.
                (let ((buffer-undo-list t)
                      (buffer-read-only nil)
-                     (mark (point)))
+                     (mark (point-max)))
                  (clear-visited-file-modtime)
                  (narrow-to-region (point-max) (point-max))
                  ;; We call `tramp-maybe-open-connection', in order