diff --git a/clojure-mode.el b/clojure-mode.el index dc0d0b7c..04441821 100644 --- a/clojure-mode.el +++ b/clojure-mode.el @@ -879,8 +879,16 @@ any number of matches of `clojure--sym-forbidden-rest-chars'.")) "\\(\\sw+\\)?") (2 font-lock-type-face nil t)) ;; Function definition - (,(concat "(\\(?:clojure.core/\\)?" - "\\(defn\\)" + (,(concat "(\\(?:clojure.core/\\)?\\(" + (regexp-opt '("defn" + "defn-" + "defmulti" + "defmethod" + "deftest" + "deftest-" + "defmacro" + "definline")) + "\\)" ;; Function declarations "\\>" ;; Any whitespace