diff options
| author | Stefan Monnier | 2012-08-14 23:46:47 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2012-08-14 23:46:47 -0400 |
| commit | 582db66051fd7d3bf8fd9c7119d2910c2c72bdcf (patch) | |
| tree | cc877af61239f77c87d2a4f9385b78d8575a4207 /lisp/textmodes | |
| parent | 456e62c25609370ae0efb0986874144691411903 (diff) | |
| download | emacs-582db66051fd7d3bf8fd9c7119d2910c2c72bdcf.tar.gz emacs-582db66051fd7d3bf8fd9c7119d2910c2c72bdcf.zip | |
* lisp/textmodes/tex-mode.el (tex-insert-quote): ~ is a space.
Fixes: debbugs:12137
Diffstat (limited to 'lisp/textmodes')
| -rw-r--r-- | lisp/textmodes/tex-mode.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index 9a3462773fc..957003ca2e0 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el | |||
| @@ -1286,7 +1286,8 @@ inserts \" characters." | |||
| 1286 | (delete-char (length tex-open-quote)) | 1286 | (delete-char (length tex-open-quote)) |
| 1287 | t))) | 1287 | t))) |
| 1288 | (self-insert-command (prefix-numeric-value arg)) | 1288 | (self-insert-command (prefix-numeric-value arg)) |
| 1289 | (insert (if (memq (char-syntax (preceding-char)) '(?\( ?> ?\s)) | 1289 | (insert (if (or (memq (char-syntax (preceding-char)) '(?\( ?> ?\s)) |
| 1290 | (memq (preceding-char) '(?~))) | ||
| 1290 | tex-open-quote tex-close-quote)))) | 1291 | tex-open-quote tex-close-quote)))) |
| 1291 | 1292 | ||
| 1292 | (defun tex-validate-buffer () | 1293 | (defun tex-validate-buffer () |