Mercurial > emacs
comparison lisp/net/tramp-vc.el @ 51968:e4c4c45ea013
Tramp 2.0.36 released.
* net/tramp.el (tramp-default-password-end-of-line): Renamed from
tramp-password-end-of-line.
(tramp-password-end-of-line): New method parameter.
(tramp-get-password-end-of-line): Function to access method
parameter `tramp-password-end-of-line', or variable
`tramp-default-password-end-of-line' (default value).
(tramp-methods): Add entries for new parameter
tramp-password-end-of-line.
(tramp-enter-password): Use new function
`tramp-get-password-end-of-line'.
(tramp-handle-insert-file-contents): Do not
unconditionally inhibit the file operation file-local-copy, only
do that when the inhibit-file-name-operation is currently
insert-file-contents. This fixes finding remote CVS-controlled
files. (It would barf on inserting the CVS/Entries file
literally, because the file-local-copy handler wasn't called.)
(tramp-handle-shell-command): Support optional third arg
ERROR-BUFFER.
(tramp-sh-extra-args): Adapt defcustom type to XEmacs.
(tramp-initial-commands): New variable.
(tramp-process-initial-commands): New function, using the variable.
(tramp-open-connection-setup-interactive-shell): Call the new
function.
(tramp-buffer-name, tramp-debug-buffer-name): Always put the
method into the buffer name, never use nil. Reported by Hanak
David <dhanak@inf.bme.hu>.
(tramp-open-connection-setup-interactive-shell): Erase buffer
before sending "stty -onlcr".
* net/tramp-vc.el (vc-workfile-unchanged-p): Add comment.
author | Kai Großjohann <kgrossjo@eu.uu.net> |
---|---|
date | Sun, 20 Jul 2003 19:04:48 +0000 |
parents | a0e8a85259ed |
children | 695cf19ef79e |
comparison
equal
deleted
inserted
replaced
51967:2693b0669cc1 | 51968:e4c4c45ea013 |
---|---|
334 "Invoke tramp-vc-workfile-unchanged-p for tramp files." | 334 "Invoke tramp-vc-workfile-unchanged-p for tramp files." |
335 (if (and (stringp filename) | 335 (if (and (stringp filename) |
336 (tramp-tramp-file-p filename) | 336 (tramp-tramp-file-p filename) |
337 (not | 337 (not |
338 (let ((v (tramp-dissect-file-name filename))) | 338 (let ((v (tramp-dissect-file-name filename))) |
339 ;; The following check is probably to test whether | |
340 ;; file-attributes returns correct last modification | |
341 ;; times. This check needs to be changed. | |
339 (tramp-get-remote-perl (tramp-file-name-multi-method v) | 342 (tramp-get-remote-perl (tramp-file-name-multi-method v) |
340 (tramp-file-name-method v) | 343 (tramp-file-name-method v) |
341 (tramp-file-name-user v) | 344 (tramp-file-name-user v) |
342 (tramp-file-name-host v))))) | 345 (tramp-file-name-host v))))) |
343 (setq ad-return-value | 346 (setq ad-return-value |