/[emacs]/emacs/lisp/textmodes/tex-mode.el
ViewVC logotype

Diff of /emacs/lisp/textmodes/tex-mode.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.174 by monnier, Sat Sep 24 17:44:29 2005 UTC revision 1.175 by lektu, Mon Sep 26 09:47:11 2005 UTC
# Line 1109  Inserts the value of `tex-open-quote' (n Line 1109  Inserts the value of `tex-open-quote' (n
1109  inserts \" characters."  inserts \" characters."
1110    (interactive "*P")    (interactive "*P")
1111    (if (or arg (memq (char-syntax (preceding-char)) '(?/ ?\\))    (if (or arg (memq (char-syntax (preceding-char)) '(?/ ?\\))
1112            (eq (get-text-property (point) 'face) tex-verbatim)            (eq (get-text-property (point) 'face) 'tex-verbatim)
1113            (save-excursion            (save-excursion
1114              (backward-char (length tex-open-quote))              (backward-char (length tex-open-quote))
1115              (when (or (looking-at (regexp-quote tex-open-quote))              (when (or (looking-at (regexp-quote tex-open-quote))
# Line 2341  Runs the shell command defined by `tex-s Line 2341  Runs the shell command defined by `tex-s
2341    
2342  (defun latex-indent (&optional arg)  (defun latex-indent (&optional arg)
2343    (if (and (eq (get-text-property (line-beginning-position) 'face)    (if (and (eq (get-text-property (line-beginning-position) 'face)
2344                 tex-verbatim))                 'tex-verbatim))
2345        'noindent        'noindent
2346      (with-syntax-table tex-latex-indent-syntax-table      (with-syntax-table tex-latex-indent-syntax-table
2347        ;; TODO: Rather than ignore $, we should try to be more clever about it.        ;; TODO: Rather than ignore $, we should try to be more clever about it.

Legend:
Removed from v.1.174  
changed lines
  Added in v.1.175

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26