From: Chong Yidong Date: Sun, 1 Apr 2007 17:13:35 +0000 (+0000) Subject: Minor tweak. X-Git-Tag: emacs-pretest-22.0.97~57 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6d0a6f301550f77cf89ce2bb112a33bfe46d59fb;p=emacs.git Minor tweak. --- 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.