Prevent locked-file errors in Rmail
commit549470fdf234acb4da7941e3bb9b28ed63a51876
authorKen Olum <kdo@cosmos.phy.tufts.edu>
Sat, 28 May 2016 10:46:22 +0000 (28 13:46 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 28 May 2016 10:46:22 +0000 (28 13:46 +0300)
treedff95e89eaa065df2a072fdfc73285b1514d10a2
parent062757dca01cff127583438ae16237af55b6253c
Prevent locked-file errors in Rmail

* lisp/mail/rmail.el (rmail-get-new-mail-1): Lock file before
calling 'rmail-insert-inbox-text'.  Unlock if
'rmail-insert-inbox-text' doesn't modify buffer.
(rmail-insert-inbox-text): Remove lock-checking code.  (Bug#17706)
lisp/mail/rmail.el