summaryrefslogtreecommitdiff
path: root/src/elisp
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2015-10-15 07:52:37 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2015-10-15 07:52:37 -0400
commitd8dc62e905f11344720996fa8f38ead7dd6158e8 (patch)
tree2ef9554b1d4e4b70556dc980aac5fb5e5ea912ba /src/elisp
parent438e05e7ea9949b7ee61e40a2a6bc7e1c1d4b8f3 (diff)
Make urweb-mode inherit from prog-mode (contributed by Ziv Scully)
Diffstat (limited to 'src/elisp')
-rw-r--r--src/elisp/urweb-mode.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/elisp/urweb-mode.el b/src/elisp/urweb-mode.el
index 5eb36bc4..db08e1e0 100644
--- a/src/elisp/urweb-mode.el
+++ b/src/elisp/urweb-mode.el
@@ -246,7 +246,7 @@ See doc for the variable `urweb-mode-info'."
("\\<\\(signature\\)\\s-+\\(\\sw+\\)"
(1 font-lock-keyword-face)
(2 (amAttribute font-lock-interface-def-face)))
-
+
(,urweb-keywords-regexp . font-lock-keyword-face)
(,urweb-sql-keywords-regexp . font-lock-sql-face)
(,urweb-cident-regexp . font-lock-cvariable-face))
@@ -377,7 +377,7 @@ See doc for the variable `urweb-mode-info'."
(add-to-list 'auto-mode-alist '("\\.urs?\\'" . urweb-mode))
;;;###autoload
-(define-derived-mode urweb-mode fundamental-mode "Ur/Web"
+(define-derived-mode urweb-mode prog-mode "Ur/Web"
"\\<urweb-mode-map>Major mode for editing Ur/Web code.
This mode runs `urweb-mode-hook' just before exiting.
\\{urweb-mode-map}"
@@ -409,7 +409,7 @@ This mode runs `urweb-mode-hook' just before exiting.
(set-syntax-table urweb-mode-syntax-table)
(setq local-abbrev-table urweb-mode-abbrev-table)
;; A paragraph is separated by blank lines or ^L only.
-
+
(set (make-local-variable 'indent-line-function) 'urweb-indent-line)
(set (make-local-variable 'comment-start) "(* ")
(set (make-local-variable 'comment-end) " *)")