Skip to content

Commit 7d16e30

Browse files
committed
Merge pull request #332 from maio/patch-1
Fix clojure-find-def return value (strip properties)
2 parents afe7726 + c675bf3 commit 7d16e30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clojure-mode.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,8 +1115,8 @@ Returns a list pair, e.g. (\"defn\" \"abc\") or (\"deftest\" \"some-test\")."
11151115
(unless (looking-at re)
11161116
(beginning-of-defun))
11171117
(when (search-forward-regexp re nil t)
1118-
(list (match-string 1)
1119-
(match-string 2))))))
1118+
(list (match-string-no-properties 1)
1119+
(match-string-no-properties 2))))))
11201120

11211121

11221122
;;; Sexp navigation

0 commit comments

Comments
 (0)