Commits

viteno  committed 052bdba

Patch by Ilya N. Golubev <gin@mo.msk.ru> in
<09663f7dae3846-gin@mo.msk.ru>.

  • Participants
  • Parent commits 72894dc

Comments (0)

Files changed (2)

+2003-10-03  Ilya N. Golubev  <gin@mo.msk.ru>
+
+	* rlogin.el (rlogin): Remove unneeded duplication of process
+	marker setting done inside `comint-exec'.
+
 2003-10-03  Ilya N. Golubev  <gin@mo.msk.ru>
 
 	* background.el (background): Use `insert-before-markers' for text
                    (user-login-name)))
          (buffer-name (if (string= user (user-login-name))
                           (format "*rlogin-%s*" host)
-                        (format "*rlogin-%s@%s*" user host)))
-	 proc)
+                        (format "*rlogin-%s@%s*" user host))))
 
     (cond ((null buffer))
 	  ((stringp buffer)
      ((comint-check-proc buffer-name))
      (t
       (comint-exec buffer buffer-name rlogin-program nil args)
-      (setq proc (get-buffer-process buffer))
-      ;; Set process-mark to point-max in case there is text in the
-      ;; buffer from a previous exited process.
-      (set-marker (process-mark proc) (point-max))
 
       ;; comint-output-filter-functions is treated like a hook: it is
       ;; processed via run-hooks or run-hooks-with-args in later versions