Tooks me a while to realize what GEANY_DEFAULT_FILETYPE_REGEX and `-*-\s*([^\s]+)\s*-*-` are, even though I was told ahead of time what it is. Adding an example might help. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/2947
-- Commit Summary --
* <a href="https://github.com/geany/geany/pull/2947/commits/f4509e8630e055e6c545696ce1f94a25295306bf">Add example to illustrate use of emacs filetype regex</a>
-- File Changes --
M doc/geany.txt (5)
-- Patch Links --
https://github.com/geany/geany/pull/2947.patch https://github.com/geany/geany/pull/2947.diff