diff options
Diffstat (limited to 'lisp/button.el')
-rw-r--r-- | lisp/button.el | 2 |
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." (if new-button ;; We are in a button again; this can happen if there ;; are adjacent buttons (or at bob). - (unless (eq new-button button) new-button) + (unless (= pos (button-start button)) new-button) ;; We are now in the space between buttons. (previous-button pos)))) ;; We started out in the space between buttons. |