capitaomorte/autopair — pull request #2 by purcell (2012-07-22 14:44:41+00:00)
Title: Don't fail when syntax entry is missing for closing parens

In the case of some buffers, e.g. `*urlparse-temp*`, there is no syntax entry for closing parens. When trying to enable `autopair-global-mode` with such buffers open, an error results due to autopair assuming there is such an entry. This commit prevents that error by binding 'autopair-skip-close-maybe only if such a syntax entry exists.

(This behavior was observed in Emacs 24.)