summaryrefslogtreecommitdiff
path: root/src/elisp/urweb-mode.el
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-10-16 12:55:16 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-10-16 12:55:16 -0400
commit6b2f6872140b7ba1c5d153eba2ede2b91f8850d6 (patch)
tree881aab258622ac0447457b44b50a9509f54ca735 /src/elisp/urweb-mode.el
parente68725d110283faef07a50a3c93480adafc0bbdc (diff)
Fix XML indent not to take two tab-tries
Diffstat (limited to 'src/elisp/urweb-mode.el')
-rw-r--r--src/elisp/urweb-mode.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/elisp/urweb-mode.el b/src/elisp/urweb-mode.el
index a364e50f..5a673d23 100644
--- a/src/elisp/urweb-mode.el
+++ b/src/elisp/urweb-mode.el
@@ -511,6 +511,7 @@ If anyone has a good algorithm for this..."
(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