From: Juanma Barranquero Date: Mon, 26 Sep 2005 09:47:11 +0000 (+0000) Subject: (tex-insert-quote, latex-indent): Quote face names. X-Git-Tag: emacs-pretest-22.0.90~6935 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=014e29b972bbd830d8d48126729f8baf19633f3a;p=emacs.git (tex-insert-quote, latex-indent): Quote face names. --- 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' 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 @@ Runs the shell command defined by `tex-show-queue-command'." (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.