1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-10 01:34:36 -08:00

* mh-show.el (mh-unvisit-file): Clarify language in yes-or-no-p and

error messages.
This commit is contained in:
Bill Wohler 2011-09-19 21:56:09 -07:00
parent c78268f1bc
commit de77dfbd8c
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2011-07-30 Bill Wohler <wohler@newt.com>
* mh-show.el (mh-unvisit-file): Clarify language in yes-or-no-p
and error messages.
2011-07-17 Bill Wohler <wohler@newt.com>
Release MH-E version 8.2.93.

View file

@ -319,9 +319,9 @@ ignored if VISIBLE-HEADERS is non-nil."
"Separate current buffer from the message file it was visiting."
(or (not (buffer-modified-p))
(null buffer-file-name) ;we've been here before
(yes-or-no-p (format "Message %s modified; flush changes? "
(yes-or-no-p (format "Message %s modified; discard changes? "
(file-name-nondirectory buffer-file-name)))
(error "Flushing changes not confirmed"))
(error "Changes preserved"))
(clear-visited-file-modtime)
(unlock-buffer)
(setq buffer-file-name nil))