Mercurial > emacs
diff lisp/button.el @ 76870:4d65750e175f
Minor tweak.
| author | Chong Yidong <cyd@stupidchicken.com> |
|---|---|
| date | Sun, 01 Apr 2007 17:13:35 +0000 |
| parents | c93f4d8744d5 |
| children | d5c29aa724b3 4ef881a120fe |
line wrap: on
line diff
--- 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.
