X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/2eb6817ba971184cc109f8530f4b3b38f65650ea..e2f785991d0c696fbb2bc2f331f888d979b8da82:/lisp/net/tramp.el diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index aa335d3ce0..377b529803 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -4124,7 +4124,7 @@ Invokes `password-read' if available, `read-passwd' else." (defun tramp-time-diff (t1 t2) "Return the difference between the two times, in seconds. T1 and T2 are time values (as returned by `current-time' for example)." - (float-time (subtract-time t1 t2))) + (float-time (time-subtract t1 t2))) ;; Currently (as of Emacs 20.5), the function `shell-quote-argument' ;; does not deal well with newline characters. Newline is replaced by