emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master b19a23a 096/110: avy.el (avy--visible-p): buffer-invisibil


From: Oleh Krehel
Subject: [elpa] master b19a23a 096/110: avy.el (avy--visible-p): buffer-invisibility-spec can be t
Date: Sat, 11 May 2019 10:15:53 -0400 (EDT)

branch: master
commit b19a23af27a0454bcaffb266e5d5e3465be88e98
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    avy.el (avy--visible-p): buffer-invisibility-spec can be t
    
    In that case, according to the doc if (get-char-property s 'invisible)
    is non-nil, it's invisible.
    
    Fixes #264
    Re #261
---
 avy.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/avy.el b/avy.el
index 7d949ea..630f3ab 100644
--- a/avy.el
+++ b/avy.el
@@ -875,6 +875,7 @@ Use OVERLAY-FN to visualize the decision overlay."
 (defun avy--visible-p (s)
   (let ((invisible (get-char-property s 'invisible)))
     (or (null invisible)
+        (eq t buffer-invisibility-spec)
         (null (assoc invisible buffer-invisibility-spec)))))
 
 (defun avy--next-visible-point ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]