Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
fd35d9d6
Commit
fd35d9d6
authored
Feb 09, 2008
by
Michael Olson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net/tramp.el (tramp-process-sentinel): Avoid error when process buffer killed.
parent
1230c3cb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
6 deletions
+15
-6
lisp/ChangeLog
lisp/ChangeLog
+6
-0
lisp/net/tramp.el
lisp/net/tramp.el
+9
-6
No files found.
lisp/ChangeLog
View file @
fd35d9d6
2008-02-09 Michael Olson <mwolson@gnu.org>
* net/tramp.el (tramp-process-sentinel): Avoid error when process
buffer has been killed, such as by
`tramp-cleanup-all-connections'.
2008-02-09 Miles Bader <miles@gnu.org>
* net/rcirc.el (rcirc-omit-mode): Suppress invisibility ellipsis.
...
...
lisp/net/tramp.el
View file @
fd35d9d6
...
...
@@ -5654,12 +5654,15 @@ seconds. If not, it produces an error message with the given ERROR-ARGS."
;; The "Connection closed" and "exit" messages disturb the output
;; for asynchronous processes. That's why we have echoed the Tramp
;; prompt at the end. Trailing messages can be removed.
(with-current-buffer (process-buffer proc)
(goto-char (point-max))
(re-search-backward
(mapconcat 'identity (split-string tramp-end-of-output "\n") "\r?\n")
(line-beginning-position -8) t)
(delete-region (point) (point-max)))))
(let ((buf (process-buffer proc)))
(when (buffer-live-p buf)
(with-current-buffer buf
(goto-char (point-max))
(re-search-backward
(mapconcat 'identity (split-string tramp-end-of-output "\n")
"\r?\n")
(line-beginning-position -8) t)
(delete-region (point) (point-max)))))))
(defun tramp-open-connection-setup-interactive-shell (proc vec)
"Set up an interactive shell.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment