Skip to content

Commit 956cd18

Browse files
committed
Merge pull request #902 from wlabelle/nonsticky-fix
Put font-lock-face in rear-nonsticky
2 parents b03d3a0 + 48fceed commit 956cd18

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cider-repl.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ Return the position of the prompt beginning."
392392
(cider-propertize-region
393393
'(font-lock-face cider-repl-prompt-face read-only t intangible t
394394
cider-repl-prompt t
395-
rear-nonsticky (cider-repl-prompt read-only face intangible))
395+
rear-nonsticky (cider-repl-prompt read-only font-lock-face intangible))
396396
(insert-before-markers prompt))
397397
(set-marker cider-repl-prompt-start-mark prompt-start)
398398
prompt-start))))
@@ -408,7 +408,7 @@ If BOL is non-nil insert at the beginning of line."
408408
;; TODO: Review the need for bol
409409
(when (and bol (not (bolp))) (insert-before-markers "\n"))
410410
(cider-propertize-region `(font-lock-face ,output-face
411-
rear-nonsticky (face))
411+
rear-nonsticky (font-lock-face))
412412
(insert-before-markers string)
413413
(when (and (= (point) cider-repl-prompt-start-mark)
414414
(not (bolp)))
@@ -471,7 +471,7 @@ If BOL is non-nil insert at the beginning of the line."
471471
(if cider-repl-use-clojure-font-lock
472472
(insert-before-markers (cider-font-lock-as-clojure string))
473473
(cider-propertize-region
474-
'(font-lock-face cider-repl-result-face rear-nonsticky (face))
474+
'(font-lock-face cider-repl-result-face rear-nonsticky (font-lock-face))
475475
(insert-before-markers string))))))
476476
(cider-repl--show-maximum-output)))
477477

0 commit comments

Comments
 (0)