From a3ad48f380a4e42f439f08f5a73a80b156b52214 Mon Sep 17 00:00:00 2001 From: Oleh Krehel Date: Mon, 25 Mar 2019 11:16:38 +0100 Subject: [PATCH] ace-window.el (aw--point-visible-p): Prettify doc --- ace-window.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ace-window.el b/ace-window.el index 458a300..ecb36c3 100644 --- a/ace-window.el +++ b/ace-window.el @@ -329,7 +329,8 @@ accessible by typing PATH." ?\ )))))) (defun aw--point-visible-p () - "Return non-nil if point is visible in the selected window, else nil when horizontal scrolling has moved it off screen." + "Return non-nil if point is visible in the selected window. +Return nil when horizontal scrolling has moved it off screen." (and (>= (- (current-column) (window-hscroll)) 0) (< (- (current-column) (window-hscroll)) (window-width))))