Skip to content

Commit c675bf3

Browse files
committed
Fix clojure-find-def return value (strip properties)
1 parent b304afd commit c675bf3

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
@@ -1114,8 +1114,8 @@ Returns a list pair, e.g. (\"defn\" \"abc\") or (\"deftest\" \"some-test\")."
11141114
(unless (looking-at re)
11151115
(beginning-of-defun))
11161116
(when (search-forward-regexp re nil t)
1117-
(list (match-string 1)
1118-
(match-string 2))))))
1117+
(list (match-string-no-properties 1)
1118+
(match-string-no-properties 2))))))
11191119

11201120

11211121
;;; Sexp navigation

0 commit comments

Comments
 (0)