]> git.eshelyaron.com Git - emacs.git/commitdiff
(tex-insert-quote, latex-indent): Quote face names.
authorJuanma Barranquero <lekktu@gmail.com>
Mon, 26 Sep 2005 09:47:11 +0000 (09:47 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Mon, 26 Sep 2005 09:47:11 +0000 (09:47 +0000)
lisp/textmodes/tex-mode.el

index 1c395d3663bdddf6923962bbc26d1d066cd6714e..5172904a78b3620069672b28afa415788ab1293d 100644 (file)
@@ -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.