Skip to content

Commit 8a04350

Browse files
committed
Update a couple of error messages
1 parent 396f93e commit 8a04350

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
@@ -1733,7 +1733,7 @@ Useful if a file has been renamed."
17331733
(replace-match nsname nil nil nil 4)
17341734
(message "ns form updated to `%s'" nsname)
17351735
(setq clojure-cached-ns nsname))
1736-
(error "Namespace not found")))))))
1736+
(user-error "Can't find ns form")))))))
17371737

17381738
(defun clojure--sort-following-sexps ()
17391739
"Sort sexps between point and end of current sexp.
@@ -1799,7 +1799,7 @@ content) are considered part of the preceding sexp."
17991799
(redisplay)
18001800
(message "ns form has been sorted")
18011801
(sleep-for 0.1))))
1802-
(user-error "Namespace not found")))
1802+
(user-error "Can't find ns form")))
18031803

18041804
(defconst clojure-namespace-name-regex
18051805
(rx line-start

0 commit comments

Comments
 (0)