aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/button.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/button.el b/lisp/button.el
index 9110b7867a1..423aef5f78f 100644
--- a/lisp/button.el
+++ b/lisp/button.el
@@ -381,7 +381,7 @@ instead of starting at the next button."
381 (if new-button 381 (if new-button
382 ;; We are in a button again; this can happen if there 382 ;; We are in a button again; this can happen if there
383 ;; are adjacent buttons (or at bob). 383 ;; are adjacent buttons (or at bob).
384 (unless (eq new-button button) new-button) 384 (unless (= pos (button-start button)) new-button)
385 ;; We are now in the space between buttons. 385 ;; We are now in the space between buttons.
386 (previous-button pos)))) 386 (previous-button pos))))
387 ;; We started out in the space between buttons. 387 ;; We started out in the space between buttons.