Unbreak `mouse-action' property in text buttons
* lisp/button.el (push-button): Fix regression from 2012-12-06.
This commit is contained in:
parent
5395106b0e
commit
d94007484a
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
|
||||
|
||||
Unbreak `mouse-action' property in text buttons.
|
||||
|
||||
* button.el (push-button): Fix regression from 2012-12-06.
|
||||
|
||||
2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
|
||||
|
||||
* progmodes/xref.el (xref-marker-stack-empty-p): New function.
|
||||
|
|
|
@ -449,7 +449,7 @@ return t."
|
|||
(if (posn-string posn)
|
||||
;; mode-line, header-line, or display string event.
|
||||
(button-activate (posn-string posn) t)
|
||||
(push-button (posn-point posn)) t)))
|
||||
(push-button (posn-point posn) t))))
|
||||
;; POS is just normal position
|
||||
(let ((button (button-at (or pos (point)))))
|
||||
(when button
|
||||
|
|
Loading…
Add table
Reference in a new issue