1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(confirm-nonexistent-file-or-buffer): `other' must be last custom

choice.  (Bug#2506)
This commit is contained in:
Glenn Morris 2009-03-01 00:48:51 +00:00
parent 2ae8383213
commit b61324c301
2 changed files with 8 additions and 3 deletions

View file

@ -1138,9 +1138,9 @@ Any other non-nil value means to request confirmation.
This affects commands like `switch-to-buffer' and `find-file'."
:group 'find-file
:version "23.1"
:type '(choice (other :tag "Always" t)
(const :tag "After completion" after-completion)
(const :tag "Never" nil)))
:type '(choice (const :tag "After completion" after-completion)
(const :tag "Never" nil)
(other :tag "Always" t)))
(defun confirm-nonexistent-file-or-buffer ()
"Whether to request confirmation before visiting a new file or buffer.