Ferenc Wagner <[EMAIL PROTECTED]> writes: > Debugger entered--Lisp error: (wrong-type-argument integerp nil) > set-file-modes("/tmp/#diag.txt#" nil) > tramp-set-auto-save-file-modes() > run-hooks(auto-save-hook) > > And really, > > (file-modes "diag.txt") => nil > (file-modes "/tmp/#diag.txt#") => 436
That's what I suspected. The fix would be simple (call `set-file-modes´ only when `file-modes´ returns non-nil). Nevertheless, I'm curious to know why (file-modes "diag.txt") returned nil. Could you, please, give me the full Tramp file name of "diag.txt"? Mainly, I'm interested in the access method. > I'm glad to supply more information if needed. Best regards, Michael. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]