積丹尼 Dan Jacobson <[email protected]> writes: > tramp-time-dont-know is a variable defined in ‘tramp.el’. > Its value is (0 0 0 1000) > > This variable may be risky if used as a file-local variable. > > Documentation: > An invalid time value, used as "Don’t know" value. > > Maybe add > > "set to ... ... ... ... to enable just using the current time."
No. There are good reason for this special value. And it isn't used only for copy-file. Please don't change it yourself. A better aproach might be to investigate, how you have invoked copy-file. I suppose you haven't called it directly, but rather indirectly in dired or so. Maybe there is an option to use current-time for the copy target. Best regards, Michael.
