aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/shadowfile.el
diff options
context:
space:
mode:
authorStephen Eglen1998-03-07 18:19:38 +0000
committerStephen Eglen1998-03-07 18:19:38 +0000
commit4bef911093051ec6dfca2e1415e42baee60f8e37 (patch)
tree01e2642e0ce7282e95907bc908e065a2817d30c1 /lisp/shadowfile.el
parent14d4446b73f2f52becebc28d96e82f6ff5fe8e57 (diff)
downloademacs-4bef911093051ec6dfca2e1415e42baee60f8e37.tar.gz
emacs-4bef911093051ec6dfca2e1415e42baee60f8e37.zip
Customized.
Diffstat (limited to 'lisp/shadowfile.el')
-rw-r--r--lisp/shadowfile.el36
1 files changed, 26 insertions, 10 deletions
diff --git a/lisp/shadowfile.el b/lisp/shadowfile.el
index 48f792fb0fd..1302171f517 100644
--- a/lisp/shadowfile.el
+++ b/lisp/shadowfile.el
@@ -85,31 +85,47 @@
85;;; Variables 85;;; Variables
86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
87 87
88(defvar shadow-noquery nil 88(defgroup shadow nil
89 "Automatic file copying when saving a file."
90 :prefix "shadow-"
91 :group 'files)
92
93(defcustom shadow-noquery nil
89 "*If t, always copy shadow files without asking. 94 "*If t, always copy shadow files without asking.
90If nil \(the default), always ask. If not nil and not t, ask only if there 95If nil \(the default), always ask. If not nil and not t, ask only if there
91is no buffer currently visiting the file.") 96is no buffer currently visiting the file."
97 :type '(choice (const t) (const nil) (const :tag "Ask if no buffer" maybe))
98 :group 'shadow)
92 99
93(defvar shadow-inhibit-message nil 100(defcustom shadow-inhibit-message nil
94 "*If nonnil, do not display a message when a file needs copying.") 101 "*If nonnil, do not display a message when a file needs copying."
102 :type 'boolean
103 :group 'shadow)
95 104
96(defvar shadow-inhibit-overload nil 105(defcustom shadow-inhibit-overload nil
97 "If nonnil, shadowfile won't redefine C-x C-c. 106 "If nonnil, shadowfile won't redefine C-x C-c.
98Normally it overloads the function `save-buffers-kill-emacs' to check 107Normally it overloads the function `save-buffers-kill-emacs' to check
99for files have been changed and need to be copied to other systems.") 108for files have been changed and need to be copied to other systems."
109 :type 'boolean
110 :group 'shadow)
100 111
101(defvar shadow-info-file nil 112(defcustom shadow-info-file nil
102 "File to keep shadow information in. 113 "File to keep shadow information in.
103The shadow-info-file should be shadowed to all your accounts to 114The shadow-info-file should be shadowed to all your accounts to
104ensure consistency. Default: ~/.shadows") 115ensure consistency. Default: ~/.shadows"
116 :type '(choice (const nil) file)
117 :group 'shadow)
105 118
106(defvar shadow-todo-file nil 119(defcustom shadow-todo-file nil
107 "File to store the list of uncopied shadows in. 120 "File to store the list of uncopied shadows in.
108This means that if a remote system is down, or for any reason you cannot or 121This means that if a remote system is down, or for any reason you cannot or
109decide not to copy your shadow files at the end of one emacs session, it will 122decide not to copy your shadow files at the end of one emacs session, it will
110remember and ask you again in your next emacs session. 123remember and ask you again in your next emacs session.
111This file must NOT be shadowed to any other system, it is host-specific. 124This file must NOT be shadowed to any other system, it is host-specific.
112Default: ~/.shadow_todo") 125Default: ~/.shadow_todo"
126 :type '(choice (const nil) file)
127 :group 'shadow)
128
113 129
114;;; The following two variables should in most cases initialize themselves 130;;; The following two variables should in most cases initialize themselves
115;;; correctly. They are provided as variables in case the defaults are wrong 131;;; correctly. They are provided as variables in case the defaults are wrong