Mercurial > emacs
comparison lisp/simple.el @ 104592:2e9b68642e06
* simple.el (process-file-side-effects): New defvar.
author | Michael Albinus <michael.albinus@gmx.de> |
---|---|
date | Tue, 25 Aug 2009 08:45:41 +0000 |
parents | 23a181f64ba5 |
children | eee8a7124ad0 |
comparison
equal
deleted
inserted
replaced
104591:ccbbe2522df6 | 104592:2e9b68642e06 |
---|---|
2511 display args) | 2511 display args) |
2512 (when stderr-file (copy-file stderr-file (cadr buffer))))) | 2512 (when stderr-file (copy-file stderr-file (cadr buffer))))) |
2513 (when stderr-file (delete-file stderr-file)) | 2513 (when stderr-file (delete-file stderr-file)) |
2514 (when lc (delete-file lc))))) | 2514 (when lc (delete-file lc))))) |
2515 | 2515 |
2516 (defvar process-file-side-effects t | |
2517 "Whether a call of `process-file' changes remote files. | |
2518 | |
2519 Per default, this variable is always set to `t', meaning that a | |
2520 call of `process-file' could potentially change any file on a | |
2521 remote host. When set to `nil', a file handler could optimize | |
2522 its behaviour with respect to remote file attributes caching. | |
2523 | |
2524 This variable should never be changed by `setq'. Instead of, it | |
2525 shall be set only by let-binding.") | |
2526 | |
2516 (defun start-file-process (name buffer program &rest program-args) | 2527 (defun start-file-process (name buffer program &rest program-args) |
2517 "Start a program in a subprocess. Return the process object for it. | 2528 "Start a program in a subprocess. Return the process object for it. |
2518 | 2529 |
2519 Similar to `start-process', but may invoke a file handler based on | 2530 Similar to `start-process', but may invoke a file handler based on |
2520 `default-directory'. See Info node `(elisp)Magic File Names'. | 2531 `default-directory'. See Info node `(elisp)Magic File Names'. |