summaryrefslogtreecommitdiff
path: root/support/emacs/scala-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'support/emacs/scala-mode.el')
-rw-r--r--support/emacs/scala-mode.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/support/emacs/scala-mode.el b/support/emacs/scala-mode.el
index 6d6fe00f84..f6cafa71e1 100644
--- a/support/emacs/scala-mode.el
+++ b/support/emacs/scala-mode.el
@@ -10,7 +10,7 @@
(defconst scala-mode-version "0.3 ($Revision$)")
(defconst scala-bug-e-mail "Michel.Schinz@epfl.ch")
-(defconst scala-web-url "http://lampwww.epfl.ch/scala/")
+(defconst scala-web-url "http://lamp.epfl.ch/scala/")
;; Customization
@@ -514,7 +514,7 @@ When called repeatedly, indent each time one stop further on the right."
(0 font-lock-type-face nil)))
;; class definitions
- ("\\<class\\|trait\\>"
+ ("\\<\\(class\\|trait\\)\\>"
(scala-match-and-skip-ident (goto-char (match-end 0)) nil
(1 font-lock-type-face nil))
(scala-match-and-skip-type-param nil nil
@@ -524,7 +524,7 @@ When called repeatedly, indent each time one stop further on the right."
(2 font-lock-type-face nil t)))
;; "extends" and "with" clauses
- ("\\<extends\\|with\\>\\s *[^{]"
+ ("\\<\\(extends\\|with\\)\\>\\s *[^{]"
(scala-match-and-skip-ident (goto-char (1- (match-end 0))) nil
(0 font-lock-type-face nil))
(scala-match-and-skip-type-param nil nil