diff options
| -rw-r--r-- | lisp/textmodes/tex-mode.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index 1c395d3663b..5172904a78b 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el | |||
| @@ -1109,7 +1109,7 @@ Inserts the value of `tex-open-quote' (normally ``) or `tex-close-quote' | |||
| 1109 | inserts \" characters." | 1109 | inserts \" characters." |
| 1110 | (interactive "*P") | 1110 | (interactive "*P") |
| 1111 | (if (or arg (memq (char-syntax (preceding-char)) '(?/ ?\\)) | 1111 | (if (or arg (memq (char-syntax (preceding-char)) '(?/ ?\\)) |
| 1112 | (eq (get-text-property (point) 'face) tex-verbatim) | 1112 | (eq (get-text-property (point) 'face) 'tex-verbatim) |
| 1113 | (save-excursion | 1113 | (save-excursion |
| 1114 | (backward-char (length tex-open-quote)) | 1114 | (backward-char (length tex-open-quote)) |
| 1115 | (when (or (looking-at (regexp-quote tex-open-quote)) | 1115 | (when (or (looking-at (regexp-quote tex-open-quote)) |
| @@ -2341,7 +2341,7 @@ Runs the shell command defined by `tex-show-queue-command'." | |||
| 2341 | 2341 | ||
| 2342 | (defun latex-indent (&optional arg) | 2342 | (defun latex-indent (&optional arg) |
| 2343 | (if (and (eq (get-text-property (line-beginning-position) 'face) | 2343 | (if (and (eq (get-text-property (line-beginning-position) 'face) |
| 2344 | tex-verbatim)) | 2344 | 'tex-verbatim)) |
| 2345 | 'noindent | 2345 | 'noindent |
| 2346 | (with-syntax-table tex-latex-indent-syntax-table | 2346 | (with-syntax-table tex-latex-indent-syntax-table |
| 2347 | ;; TODO: Rather than ignore $, we should try to be more clever about it. | 2347 | ;; TODO: Rather than ignore $, we should try to be more clever about it. |