aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/button.el2
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4dfe3e43d23..ddc0c9e6563 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12015-01-04 Dmitry Gutov <dgutov@yandex.ru>
2
3 Unbreak `mouse-action' property in text buttons.
4
5 * button.el (push-button): Fix regression from 2012-12-06.
6
12015-01-01 Eli Zaretskii <eliz@gnu.org> 72015-01-01 Eli Zaretskii <eliz@gnu.org>
2 8
3 * tool-bar.el (tool-bar-local-item) 9 * tool-bar.el (tool-bar-local-item)
diff --git a/lisp/button.el b/lisp/button.el
index 2836b89020a..189a1c23a4d 100644
--- a/lisp/button.el
+++ b/lisp/button.el
@@ -449,7 +449,7 @@ return t."
449 (if (posn-string posn) 449 (if (posn-string posn)
450 ;; mode-line, header-line, or display string event. 450 ;; mode-line, header-line, or display string event.
451 (button-activate (posn-string posn) t) 451 (button-activate (posn-string posn) t)
452 (push-button (posn-point posn)) t))) 452 (push-button (posn-point posn) t))))
453 ;; POS is just normal position 453 ;; POS is just normal position
454 (let ((button (button-at (or pos (point))))) 454 (let ((button (button-at (or pos (point)))))
455 (when button 455 (when button