diff options
| author | Michael Albinus | 2009-08-25 08:45:41 +0000 |
|---|---|---|
| committer | Michael Albinus | 2009-08-25 08:45:41 +0000 |
| commit | 2c4f2562bbb383a64b6f703cc280ea6a29ed0d23 (patch) | |
| tree | 7c2d3181a41435b05341ebd32ea007312660bc5b | |
| parent | ecd3d54f20f4babfaf9a72226c916dfe967d4557 (diff) | |
| download | emacs-2c4f2562bbb383a64b6f703cc280ea6a29ed0d23.tar.gz emacs-2c4f2562bbb383a64b6f703cc280ea6a29ed0d23.zip | |
* simple.el (process-file-side-effects): New defvar.
| -rw-r--r-- | lisp/simple.el | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index c8e537cdf50..7349f4d0617 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -2513,6 +2513,17 @@ value passed." | |||
| 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 | ||