Run `bookmark-set' within `with-demoted-errors'.
commit116c09053faaf603cf8541d5776abfb1247d9de3
authorBastien Guerry <bzg@altern.org>
Fri, 26 Oct 2012 12:55:08 +0000 (26 14:55 +0200)
committerBastien Guerry <bzg@altern.org>
Fri, 26 Oct 2012 12:55:08 +0000 (26 14:55 +0200)
treec2b2835a88140c5a7872a86586195af363685056
parent3cd0c14d34abf2126423f0142d66b19d953eb629
Run `bookmark-set' within `with-demoted-errors'.

* org.el (org-refile): Run within `with-demoted-errors' so
that a corrupted bookmark file does not stop the refile
process.

* org-capture.el (org-capture-bookmark-last-stored-position):
Ditto for the capture process.

Note: we do not prevent such errors in org-remember.el as this
libary will be obsoleted for the next major release of Org.
lisp/org-capture.el
lisp/org.el