Mercurial > emacs
changeset 65706:183bad3fad1f
(tex-insert-quote, latex-indent): Quote face names.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Mon, 26 Sep 2005 09:47:11 +0000 |
parents | 7d20cbe1d616 |
children | 7d5722045a42 |
files | lisp/textmodes/tex-mode.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/textmodes/tex-mode.el Mon Sep 26 09:41:32 2005 +0000 +++ b/lisp/textmodes/tex-mode.el Mon Sep 26 09:47:11 2005 +0000 @@ -1109,7 +1109,7 @@ inserts \" characters." (interactive "*P") (if (or arg (memq (char-syntax (preceding-char)) '(?/ ?\\)) - (eq (get-text-property (point) 'face) tex-verbatim) + (eq (get-text-property (point) 'face) 'tex-verbatim) (save-excursion (backward-char (length tex-open-quote)) (when (or (looking-at (regexp-quote tex-open-quote)) @@ -2341,7 +2341,7 @@ (defun latex-indent (&optional arg) (if (and (eq (get-text-property (line-beginning-position) 'face) - tex-verbatim)) + 'tex-verbatim)) 'noindent (with-syntax-table tex-latex-indent-syntax-table ;; TODO: Rather than ignore $, we should try to be more clever about it.