lijunsong / pollen-mode

An Emacs major mode for editing in pollen markup language
GNU Lesser General Public License v3.0
42 stars 9 forks source link

Fix modifying the global syntax table #18

Closed pieterhijma closed 5 years ago

pieterhijma commented 5 years ago

This commit fixes modifying syntax entries to the standard global syntax table. The previous situation, modifications to the global syntax table, broke other modes, such as org-mode when tangling with command org-babel-tangle. It also changed the meaning of command isearch-forward-regexp with regular expression '\s-' or '\S-'. This fix modifies the syntax entries on the created syntax table.

lijunsong commented 5 years ago

Oh yea. Thanks for the fix!