branch: elpa/fedi
commit d9352ae362ffec932c31c60b66d2e0be3da7b54b
Author: marty hiatt <[email protected]>
Commit: marty hiatt <[email protected]>

    next-tab: return nil if no movement
---
 fedi.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/fedi.el b/fedi.el
index e1b86e98262..c3d630c520c 100644
--- a/fedi.el
+++ b/fedi.el
@@ -228,7 +228,8 @@ PROP is the text property to search for."
       ;; do nothing, all the action is in the while condition
       )
     (if (null next-range)
-        (message "Nothing else here.")
+        (prog1 nil ;; return nil if nothing (so we can use in or clause)
+          (message "Nothing else here."))
       (goto-char (car next-range))
       (if-let ((hecho (fedi--property 'help-echo)))
           (message "%s" hecho)))))

Reply via email to