alphapapa / frame-purpose.el

Purpose-specific frames for Emacs
GNU General Public License v3.0
52 stars 4 forks source link

Fix #9

Closed akirak closed 6 years ago

akirak commented 6 years ago

Somehow this part was lost at https://github.com/alphapapa/frame-purpose.el/commit/59cfb00015e6d6ea45610f02f7343efab2889038 so I restored it.

I still feel a bit strange, because the values are matched against default-directory of the buffer rather than (buffer-file-name). It does not follow the specification in the docstring, doesn't it? (See #11 which attempts to fix this)