From: Bruno Haible Date: Sun, 17 Jun 2007 22:51:40 +0000 (+0000) Subject: Remove a pointless dialog box. X-Git-Tag: v0.17~328 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62d29ca23738495598b28923df2a7e787c3c7347;p=thirdparty%2Fgettext.git Remove a pointless dialog box. --- diff --git a/gettext-tools/misc/po-mode.el b/gettext-tools/misc/po-mode.el index 7302c1fba..4d3cd3c52 100644 --- a/gettext-tools/misc/po-mode.el +++ b/gettext-tools/misc/po-mode.el @@ -2018,8 +2018,9 @@ The string is properly recommented before the replacement occurs." (defun po-edit-out-full () "Get out of PO mode, leaving PO file buffer in fundamental mode." (interactive) - (if (and (po-check-all-pending-edits) - (yes-or-no-p (_"Should I let you edit the whole PO file? "))) + (if (po-check-all-pending-edits) + ;; Don't ask the user for confirmation, since he has explicitly asked + ;; for it. (progn (setq buffer-read-only po-read-only) (fundamental-mode)