changeset 364:7c58dc323683

Fix XML indent not to take two tab-tries
author Adam Chlipala <adamc@hcoop.net>
date Thu, 16 Oct 2008 12:55:16 -0400
parents 9d81597e03e8
children dda8f3c6ae7c
files src/elisp/urweb-mode.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/elisp/urweb-mode.el	Thu Oct 16 12:50:59 2008 -0400
+++ b/src/elisp/urweb-mode.el	Thu Oct 16 12:55:16 2008 -0400
@@ -511,6 +511,7 @@
         (and (urweb-in-xml)
              (let ((prev-indent (save-excursion
                                   (previous-line 1)
+                                  (end-of-line 1)
                                   (re-search-backward "^[^\n]" nil t)
                                   (current-indentation))))
                (cond