apply https://github.com/syohex/emacs-dayone/commit/07d8be0f858826754374a6fe7cc0d8e985f63d1e manually
apply https://github.com/syohex/emacs-dayone/commit/f106fc3d5dac0a874e56c649f990cd7a308e262a manually