# HG changeset patch # User Chong Yidong # Date 1175447615 0 # Node ID 4d65750e175f491e607f0a3fb91b3dbe6685db15 # Parent c93f4d8744d51a1b4151b710880517c87f836ab7 Minor tweak. diff -r c93f4d8744d5 -r 4d65750e175f lisp/button.el --- a/lisp/button.el Sun Apr 01 17:10:11 2007 +0000 +++ b/lisp/button.el Sun Apr 01 17:13:35 2007 +0000 @@ -381,7 +381,7 @@ (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.