Mercurial > emacs
changeset 76870:4d65750e175f
Minor tweak.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sun, 01 Apr 2007 17:13:35 +0000 |
parents | c93f4d8744d5 |
children | 480efa346855 |
files | lisp/button.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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.