mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-25 07:28:20 +00:00
* lisp/textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB.
Fixes: debbugs:11646
This commit is contained in:
parent
646b5f55df
commit
ccf1dc189c
@ -1,5 +1,8 @@
|
||||
2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
|
||||
as well (bug#11646).
|
||||
|
||||
* loadup.el: Count byte-code functions as well.
|
||||
|
||||
* emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
|
||||
|
@ -2686,7 +2686,9 @@ Runs the shell command defined by `tex-show-queue-command'."
|
||||
"Syntax table used while computing indentation.")
|
||||
|
||||
(defun latex-indent (&optional arg)
|
||||
(if (and (eq (get-text-property (line-beginning-position) 'face)
|
||||
(if (and (eq (get-text-property (if (and (eobp) (bolp))
|
||||
(max (point-min) (1- (point)))
|
||||
(line-beginning-position)) 'face)
|
||||
'tex-verbatim))
|
||||
'noindent
|
||||
(with-syntax-table tex-latex-indent-syntax-table
|
||||
|
Loading…
Reference in New Issue
Block a user