Skip to content

Commit 91b4412

Browse files
author
Bozhidar Batsov
committed
Properly signal an error
1 parent 4845951 commit 91b4412

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clojure-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@ returned."
922922
(backward-char))
923923
(cond
924924
((equal 1 (point))
925-
(message "beginning of file reached, this was probably a mistake."))
925+
(error "Beginning of file reached, this was probably a mistake"))
926926
((equal "\"" (buffer-substring-no-properties (point) (+ 1 (point))))
927927
(insert ":" (substring (clojure-delete-and-extract-sexp) 1 -1)))
928928
((equal ":" (buffer-substring-no-properties (point) (+ 1 (point))))

0 commit comments

Comments
 (0)