Mercurial > urweb
diff src/elisp/urweb-mode.el @ 362:24a31b35e08f
Reusable column handlers for Crud
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 14 Oct 2008 17:18:59 -0400 |
parents | c1e96b387115 |
children | 9d81597e03e8 |
line wrap: on
line diff
--- a/src/elisp/urweb-mode.el Tue Oct 14 16:41:48 2008 -0400 +++ b/src/elisp/urweb-mode.el Tue Oct 14 17:18:59 2008 -0400 @@ -197,7 +197,7 @@ (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 @@ ;;;###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"