diff options
| author | Andreas Schwab | 1998-06-24 09:08:57 +0000 |
|---|---|---|
| committer | Andreas Schwab | 1998-06-24 09:08:57 +0000 |
| commit | e48807d140fd30bec31d7bf4aee7e8e0649749ab (patch) | |
| tree | 8fadd02a92004b9314d5ed8cb836302144a8717f /lisp | |
| parent | 3c1fb96c0ff4c3cb66e6d0afc5451d2e443fb6ee (diff) | |
| download | emacs-e48807d140fd30bec31d7bf4aee7e8e0649749ab.tar.gz emacs-e48807d140fd30bec31d7bf4aee7e8e0649749ab.zip | |
(version-control, delete-old-versions,
require-final-newline, enable-local-variables, enable-local-eval):
Use `other' widget type.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/files.el | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lisp/files.el b/lisp/files.el index 66c00f6e8f6..07c64a2bc27 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -203,7 +203,9 @@ breaks any hard links between it and other files." | |||
| 203 | t means make numeric backup versions unconditionally. | 203 | t means make numeric backup versions unconditionally. |
| 204 | nil means make them for files that have some already. | 204 | nil means make them for files that have some already. |
| 205 | `never' means do not make them." | 205 | `never' means do not make them." |
| 206 | :type 'boolean | 206 | :type '(choice (const :tag "Never" never) |
| 207 | (const :tag "If existing" nil) | ||
| 208 | (other :tag "Always" t)) | ||
| 207 | :group 'backup | 209 | :group 'backup |
| 208 | :group 'vc) | 210 | :group 'vc) |
| 209 | 211 | ||
| @@ -218,7 +220,7 @@ nil means make them for files that have some already. | |||
| 218 | If nil, ask confirmation. Any other value prevents any trimming." | 220 | If nil, ask confirmation. Any other value prevents any trimming." |
| 219 | :type '(choice (const :tag "Delete" t) | 221 | :type '(choice (const :tag "Delete" t) |
| 220 | (const :tag "Ask" nil) | 222 | (const :tag "Ask" nil) |
| 221 | (sexp :tag "Leave" :format "%t\n" other)) | 223 | (other :tag "Leave" other)) |
| 222 | :group 'backup) | 224 | :group 'backup) |
| 223 | 225 | ||
| 224 | (defcustom kept-old-versions 2 | 226 | (defcustom kept-old-versions 2 |
| @@ -238,7 +240,7 @@ Non-nil but not t says ask user whether to add a newline when there isn't one. | |||
| 238 | nil means don't add newlines." | 240 | nil means don't add newlines." |
| 239 | :type '(choice (const :tag "Off" nil) | 241 | :type '(choice (const :tag "Off" nil) |
| 240 | (const :tag "Add" t) | 242 | (const :tag "Add" t) |
| 241 | (sexp :tag "Ask" :format "%t\n" ask)) | 243 | (other :tag "Ask" ask)) |
| 242 | :group 'editing-basics) | 244 | :group 'editing-basics) |
| 243 | 245 | ||
| 244 | (defcustom auto-save-default t | 246 | (defcustom auto-save-default t |
| @@ -329,7 +331,7 @@ The command \\[normal-mode] always obeys file local variable | |||
| 329 | specifications and ignores this variable." | 331 | specifications and ignores this variable." |
| 330 | :type '(choice (const :tag "Obey" t) | 332 | :type '(choice (const :tag "Obey" t) |
| 331 | (const :tag "Ignore" nil) | 333 | (const :tag "Ignore" nil) |
| 332 | (sexp :tag "Query" :format "%t\n" other)) | 334 | (other :tag "Query" other)) |
| 333 | :group 'find-file) | 335 | :group 'find-file) |
| 334 | 336 | ||
| 335 | (defvar local-enable-local-variables t | 337 | (defvar local-enable-local-variables t |
| @@ -347,7 +349,7 @@ The command \\[normal-mode] always obeys local-variables lists | |||
| 347 | and ignores this variable." | 349 | and ignores this variable." |
| 348 | :type '(choice (const :tag "Obey" t) | 350 | :type '(choice (const :tag "Obey" t) |
| 349 | (const :tag "Ignore" nil) | 351 | (const :tag "Ignore" nil) |
| 350 | (sexp :tag "Query" :format "%t\n" other)) | 352 | (other :tag "Query" other)) |
| 351 | :group 'find-file) | 353 | :group 'find-file) |
| 352 | 354 | ||
| 353 | ;; Avoid losing in versions where CLASH_DETECTION is disabled. | 355 | ;; Avoid losing in versions where CLASH_DETECTION is disabled. |