Mercurial > emacs
comparison lisp/files.el @ 102339:824362943376
(confirm-nonexistent-file-or-buffer): `other' must be last custom
choice. (Bug#2506)
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sun, 01 Mar 2009 00:48:51 +0000 |
parents | 68388ae40468 |
children | cc888000a97c |
comparison
equal
deleted
inserted
replaced
102338:99db2ec427cc | 102339:824362943376 |
---|---|
1136 Any other non-nil value means to request confirmation. | 1136 Any other non-nil value means to request confirmation. |
1137 | 1137 |
1138 This affects commands like `switch-to-buffer' and `find-file'." | 1138 This affects commands like `switch-to-buffer' and `find-file'." |
1139 :group 'find-file | 1139 :group 'find-file |
1140 :version "23.1" | 1140 :version "23.1" |
1141 :type '(choice (other :tag "Always" t) | 1141 :type '(choice (const :tag "After completion" after-completion) |
1142 (const :tag "After completion" after-completion) | 1142 (const :tag "Never" nil) |
1143 (const :tag "Never" nil))) | 1143 (other :tag "Always" t))) |
1144 | 1144 |
1145 (defun confirm-nonexistent-file-or-buffer () | 1145 (defun confirm-nonexistent-file-or-buffer () |
1146 "Whether to request confirmation before visiting a new file or buffer. | 1146 "Whether to request confirmation before visiting a new file or buffer. |
1147 The variable `confirm-nonexistent-file-or-buffer' determines the | 1147 The variable `confirm-nonexistent-file-or-buffer' determines the |
1148 return value, which may be passed as the REQUIRE-MATCH arg to | 1148 return value, which may be passed as the REQUIRE-MATCH arg to |