We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 181ee7d commit 8ae3c39Copy full SHA for 8ae3c39
CHANGELOG.md
@@ -2,6 +2,11 @@
2
3
## master (unreleased)
4
5
+### Bugs fixed
6
+
7
+* Prevent error when calling `indent-for-tab-command` at the start of
8
+ the buffer at end of line.
9
10
## 4.0.1 (19/12/2014)
11
12
### Bugs fixed
clojure-mode.el
@@ -280,8 +280,9 @@ ENDP and DELIMITER."
280
281
(defsubst clojure-in-docstring-p ()
282
"Check whether point is in a docstring."
283
- (eq (get-text-property (1- (point-at-eol)) 'face)
284
- 'font-lock-doc-face))
+ (unless (bobp)
+ (eq (get-text-property (1- (point-at-eol)) 'face)
285
+ 'font-lock-doc-face)))
286
287
(defsubst clojure-docstring-fill-prefix ()
288
"The prefix string used by `clojure-fill-paragraph'.
0 commit comments