aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2009-03-01 00:48:51 +0000
committerGlenn Morris2009-03-01 00:48:51 +0000
commitb61324c301db8723b3cb79052ebc8a31990ee2c2 (patch)
tree10ad7d46fb6e68584e54f0eed98fd8bbd698d7e2
parent2ae83832138a30948bc165acf995ec6986572221 (diff)
downloademacs-b61324c301db8723b3cb79052ebc8a31990ee2c2.tar.gz
emacs-b61324c301db8723b3cb79052ebc8a31990ee2c2.zip
(confirm-nonexistent-file-or-buffer): `other' must be last custom
choice. (Bug#2506)
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/files.el6
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 @@
12009-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
12009-02-28 Eli Zaretskii <eliz@gnu.org> 62009-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.
1138This affects commands like `switch-to-buffer' and `find-file'." 1138This 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.