diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2005-09-26 09:47:11 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2005-09-26 09:47:11 +0000 |
commit | 014e29b972bbd830d8d48126729f8baf19633f3a (patch) | |
tree | 97cab6cece4ca8ac25f664b58661da6c52605cf3 /lisp/textmodes | |
parent | c7d9f1949feb233190499cd13dc101a1aed43771 (diff) | |
download | emacs-014e29b972bbd830d8d48126729f8baf19633f3a.tar.gz |
(tex-insert-quote, latex-indent): Quote face names.
Diffstat (limited to 'lisp/textmodes')
-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' 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. |