aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2009-08-25 08:45:41 +0000
committerMichael Albinus2009-08-25 08:45:41 +0000
commit2c4f2562bbb383a64b6f703cc280ea6a29ed0d23 (patch)
tree7c2d3181a41435b05341ebd32ea007312660bc5b
parentecd3d54f20f4babfaf9a72226c916dfe967d4557 (diff)
downloademacs-2c4f2562bbb383a64b6f703cc280ea6a29ed0d23.tar.gz
emacs-2c4f2562bbb383a64b6f703cc280ea6a29ed0d23.zip
* simple.el (process-file-side-effects): New defvar.
-rw-r--r--lisp/simple.el11
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
2519Per default, this variable is always set to `t', meaning that a
2520call of `process-file' could potentially change any file on a
2521remote host. When set to `nil', a file handler could optimize
2522its behaviour with respect to remote file attributes caching.
2523
2524This variable should never be changed by `setq'. Instead of, it
2525shall 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