aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2005-09-26 09:47:11 +0000
committerJuanma Barranquero2005-09-26 09:47:11 +0000
commit014e29b972bbd830d8d48126729f8baf19633f3a (patch)
tree97cab6cece4ca8ac25f664b58661da6c52605cf3
parentc7d9f1949feb233190499cd13dc101a1aed43771 (diff)
downloademacs-014e29b972bbd830d8d48126729f8baf19633f3a.tar.gz
emacs-014e29b972bbd830d8d48126729f8baf19633f3a.zip
(tex-insert-quote, latex-indent): Quote face names.
-rw-r--r--lisp/textmodes/tex-mode.el4
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'
1109inserts \" characters." 1109inserts \" 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.