summaryrefslogtreecommitdiff
path: root/src/elisp/urweb-mode.el
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-10-14 17:18:59 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-10-14 17:18:59 -0400
commited10a428abc7be47f8cce83db8dc64ac3cb6e84b (patch)
treeb7617266b4a9f49dec81d71cdb6c762172f706d6 /src/elisp/urweb-mode.el
parent8f64fda22cf9820a07c251acf755e14c836020a8 (diff)
Reusable column handlers for Crud
Diffstat (limited to 'src/elisp/urweb-mode.el')
-rw-r--r--src/elisp/urweb-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/elisp/urweb-mode.el b/src/elisp/urweb-mode.el
index 39cb41f8..27271f11 100644
--- a/src/elisp/urweb-mode.el
+++ b/src/elisp/urweb-mode.el
@@ -197,7 +197,7 @@ See doc for the variable `urweb-mode-info'."
(defconst urweb-font-lock-keywords
`(;;(urweb-font-comments-and-strings)
- ("\\(<\\sw+\\)\\(\\s-\\|\\sw\\|=\\|\"[^\"]*\"\\|{[^}]*}\\)*/?\\(>\\)"
+ ("\\(<\\sw+\\)\\(\\s-\\|\\sw\\|=\\|\"[^\"]*\"\\|{[^}]*}\\)*\\(/?>\\)"
(1 font-lock-tag-face)
(3 font-lock-tag-face))
("\\(</\\sw+>\\)"
@@ -350,7 +350,7 @@ See doc for the variable `urweb-mode-info'."
;;;###autoload (add-to-list 'load-path (file-name-directory load-file-name))
;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.s\\(ml\\|ig\\)\\'" . urweb-mode))
+(add-to-list 'auto-mode-alist '("\\.urs?\\'" . urweb-mode))
;;;###autoload
(define-derived-mode urweb-mode fundamental-mode "Ur/Web"