adding attribution to @syohex (thanks!)

Inspiration pulled from desktop.el which thanks contributors. :)