Avoid a crash when saving a new bookmark and elpher-bookarks-file dir is missing
authorÉtienne Deparis <etienne@depar.is>
Tue, 24 Nov 2020 07:49:20 +0000 (08:49 +0100)
committerÉtienne Deparis <etienne@depar.is>
Tue, 24 Nov 2020 07:49:20 +0000 (08:49 +0100)
commitf2860c3b2d20fdc456b0bf554ab846e34c4458da
tree0a5aba5d799a8cdf543cf242ebd534d1c09ab1a0
parent3561c2815bc6bc896fc7a6da8f094edca48c55b8
Avoid a crash when saving a new bookmark and elpher-bookarks-file dir is missing

As the ‘elpher-bookmarks-file’ is customizable, one can set it to a
non-existent dir (like ‘~/.emacs.d/etc/elpher/bookrmarks’). This commit just
check that the directory part of ‘elpher-bookrmarks-file’ exists before trying
to save it.
elpher.el