[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/textmodes/tex-mode.el
From: |
Juanma Barranquero |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/textmodes/tex-mode.el |
Date: |
Mon, 26 Sep 2005 05:47:11 -0400 |
Index: emacs/lisp/textmodes/tex-mode.el
diff -c emacs/lisp/textmodes/tex-mode.el:1.174
emacs/lisp/textmodes/tex-mode.el:1.175
*** emacs/lisp/textmodes/tex-mode.el:1.174 Sat Sep 24 17:44:29 2005
--- emacs/lisp/textmodes/tex-mode.el Mon Sep 26 09:47:11 2005
***************
*** 1109,1115 ****
inserts \" characters."
(interactive "*P")
(if (or arg (memq (char-syntax (preceding-char)) '(?/ ?\\))
! (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))
--- 1109,1115 ----
inserts \" characters."
(interactive "*P")
(if (or arg (memq (char-syntax (preceding-char)) '(?/ ?\\))
! (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,2347 ****
(defun latex-indent (&optional arg)
(if (and (eq (get-text-property (line-beginning-position) 'face)
! tex-verbatim))
'noindent
(with-syntax-table tex-latex-indent-syntax-table
;; TODO: Rather than ignore $, we should try to be more clever about it.
--- 2341,2347 ----
(defun latex-indent (&optional arg)
(if (and (eq (get-text-property (line-beginning-position) 'face)
! 'tex-verbatim))
'noindent
(with-syntax-table tex-latex-indent-syntax-table
;; TODO: Rather than ignore $, we should try to be more clever about it.