Skip to content

Commit 8259791

Browse files
iarenazabbatsov
authored andcommitted
Fix breakage introduced by commit 24ea02bad in clojure-mode
1 parent 7ab3e21 commit 8259791

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clj-refactor.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ Please, install (or update) refactor-nrepl %s and restart the REPL."
959959
(defun cljr--goto-ns ()
960960
"Go to the first namespace defining form in the buffer."
961961
(goto-char (point-min))
962-
(if (re-search-forward clojure-namespace-name-regex nil t)
962+
(if (re-search-forward clojure-namespace-regexp nil t)
963963
(cljr--goto-toplevel)
964964
(error "No namespace declaration found")))
965965

@@ -970,10 +970,10 @@ no namespace form above point, return the first one in the buffer."
970970
(save-restriction
971971
(widen)
972972
;; The closest ns form above point.
973-
(when (or (re-search-backward clojure-namespace-name-regex nil t)
973+
(when (or (re-search-backward clojure-namespace-regexp nil t)
974974
;; Or any form at all.
975975
(and (goto-char (point-min))
976-
(re-search-forward clojure-namespace-name-regex nil t)))
976+
(re-search-forward clojure-namespace-regexp nil t)))
977977
(cljr--goto-toplevel))))
978978

979979
(defun cljr--goto-cljs-branch ()

0 commit comments

Comments
 (0)