Commit 582db660 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

* lisp/textmodes/tex-mode.el (tex-insert-quote): ~ is a space.

Fixes: debbugs:12137
parent 456e62c2
2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
* textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
* man.el (Man-overstrike-face, Man-underline-face)
......
......@@ -1286,7 +1286,8 @@ inserts \" characters."
(delete-char (length tex-open-quote))
t)))
(self-insert-command (prefix-numeric-value arg))
(insert (if (memq (char-syntax (preceding-char)) '(?\( ?> ?\s))
(insert (if (or (memq (char-syntax (preceding-char)) '(?\( ?> ?\s))
(memq (preceding-char) '(?~)))
tex-open-quote tex-close-quote))))
(defun tex-validate-buffer ()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment