diff options
| author | Glenn Morris | 2009-03-01 00:48:51 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-03-01 00:48:51 +0000 |
| commit | b61324c301db8723b3cb79052ebc8a31990ee2c2 (patch) | |
| tree | 10ad7d46fb6e68584e54f0eed98fd8bbd698d7e2 | |
| parent | 2ae83832138a30948bc165acf995ec6986572221 (diff) | |
| download | emacs-b61324c301db8723b3cb79052ebc8a31990ee2c2.tar.gz emacs-b61324c301db8723b3cb79052ebc8a31990ee2c2.zip | |
(confirm-nonexistent-file-or-buffer): `other' must be last custom
choice. (Bug#2506)
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/files.el | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5bd2e9d3835..8be0d110d07 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2009-03-01 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * files.el (confirm-nonexistent-file-or-buffer): `other' must be last | ||
| 4 | custom choice. (Bug#2506) | ||
| 5 | |||
| 1 | 2009-02-28 Eli Zaretskii <eliz@gnu.org> | 6 | 2009-02-28 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * progmodes/grep.el (grep-process-setup) [windows-nt msdos]: Use | 8 | * progmodes/grep.el (grep-process-setup) [windows-nt msdos]: Use |
diff --git a/lisp/files.el b/lisp/files.el index da8db21274b..afe6b4c3b63 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -1138,9 +1138,9 @@ Any other non-nil value means to request confirmation. | |||
| 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. |