summaryrefslogtreecommitdiff
path: root/lisp/button.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2007-04-01 17:13:35 +0000
committerChong Yidong <cyd@stupidchicken.com>2007-04-01 17:13:35 +0000
commit6d0a6f301550f77cf89ce2bb112a33bfe46d59fb (patch)
tree5d5d4b2f7c7f96578c446747048a2458f36ab3bd /lisp/button.el
parent1106c41b1c730d937e7c5ad02b7fea0619b2fdc6 (diff)
downloademacs-6d0a6f301550f77cf89ce2bb112a33bfe46d59fb.tar.gz
Minor tweak.
Diffstat (limited to 'lisp/button.el')
-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."
(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.