Commit 49914e04 authored by Andreas Schwab's avatar Andreas Schwab
Browse files

(tramp-send-string): Handle empty string.

parent aa8b70ae
2003-04-04 Andreas Schwab <>
* net/tramp.el (tramp-send-string): Handle empty string.
2003-04-03 Richard M. Stallman <>
* emacs-lisp/easymenu.el (easy-menu-define):
......@@ -5657,7 +5657,8 @@ the remote host use line-endings as defined in the variable
(mapconcat 'identity
(split-string string "\n")
(unless (string-equal (substring string -1) tramp-rsh-end-of-line)
(unless (or (string= string "")
(string-equal (substring string -1) tramp-rsh-end-of-line))
(setq string (concat string tramp-rsh-end-of-line)))
;; send the string
(if (and tramp-chunksize (not (zerop tramp-chunksize)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment