Skip to content

Commit

Permalink
Fix error loading non existing buffer cache file
Browse files Browse the repository at this point in the history
  • Loading branch information
syl20bnr committed Apr 13, 2015
1 parent b68099f commit 1722b93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/core-spacemacs-buffer.el
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ Doge special text banner can be reachable via `999', `doge' or `random*'.
(insert-file-contents banner))
(spacemacs-buffer//inject-version)
(spacemacs-buffer//insert-buttons)
(load spacemacs-buffer--cache-file)
(when (file-exists-p spacemacs-buffer--cache-file)
(load spacemacs-buffer--cache-file))
(when (or (not spacemacs-buffer--release-note-version)
(version< spacemacs-buffer--release-note-version
spacemacs-version))
Expand Down

0 comments on commit 1722b93

Please sign in to comment.