Avoid changing buffer while narrowed (v2)

Update of #475:

- `yas--temp-buffer-with-font-lock` -> `yas--with-font-locked-temp-buffer`
- docstring formatting
- comment on 2 `font-lock-mode` calls
- commit message formatting
- rebased to 4d9eee9