nibrahim / Hyde

An Emacs mode to manage Jekyll blogs
http://nibrahim.net.in/2010/11/11/hyde_%3A_an_emacs_mode_for_jekyll_blogs.html
GNU General Public License v3.0
117 stars 28 forks source link

Hyde won't start if current buffer has no file name #33

Open davep opened 8 years ago

davep commented 8 years ago

If you start hyde from a buffer where buffer-file-name returns nil you get the following error:

abbreviate-file-name: Wrong type argument: stringp, nil

The problem seems to be in hyde/ask-for-jekyll-root. Perhaps (or (buffer-file-name) "") would make more sense than (buffer-file-name)?