branch: master
commit d9516315da7ea0fbe07093b25279ba6d69252835
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
ivy-overlay.el (ivy-overlay-impossible-p): Bring back org-mode
---
ivy-overlay.el | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/ivy-overlay.el b/ivy-overlay.el
index 9aa0d95..9df6930 100644
--- a/ivy-overlay.el
+++ b/ivy-overlay.el
@@ -87,9 +87,7 @@ Then attach the overlay the character before point."
(< (- (window-width) (current-column))
(length (ivy-state-current ivy-last)))
(<= (window-height) (+ ivy-height 3))
- (= (point) (point-min))
- (and (eq major-mode 'org-mode)
- (bound-and-true-p org-indent-mode))))
+ (= (point) (point-min))))
(defun ivy-display-function-overlay (str)
"Called from the minibuffer, display STR in an overlay in Ivy window.