`tex-insert-quote' after single `'' opens quotes instead of closing
commita40869789fc5502e3d4e393b7c31d78cb7f29aa1
authorJoão Távora <joaotavora@gmail.com>
Sun, 26 Apr 2015 10:44:41 +0000 (26 11:44 +0100)
committerJoão Távora <joaotavora@gmail.com>
Sun, 26 Apr 2015 10:44:41 +0000 (26 11:44 +0100)
tree8e2ec7195e4589d307e93132a0bc33f1831a0fc2
parentfddff05e889b3290222cdfd339af78c074ea1b3e
`tex-insert-quote' after single `'' opens quotes instead of closing

Without this, it's very hard to precede double quotes with the
apostrophe character, i.e. insert the sequence '``
(quote-backquote-backquote), commonly useful in portuguese, for
instance.

* tex-mode.el (tex-insert-quote): Add ?' to the list of preceding
chars making `tex-insert-quote' be in the "opening" context.
lisp/textmodes/tex-mode.el