Browse Source

Make it possible to use ace-link in Overview buffer

* elbank-overview.el: (elbank-overview--insert-saved-reports-type) Use
  make-text-button as it makes the button compatible with ace-link.
master
Damien Cassou 2 years ago
parent
commit
b9f6c2dc30
No known key found for this signature in database GPG Key ID: A7123815F5DCE914
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      elbank-overview.el

+ 4
- 4
elbank-overview.el View File

@@ -223,10 +223,10 @@ If nothing important is at point, return nil."
(insert "- ")
(let ((beg (point)))
(insert (car report))
(make-button beg (point)
'action
(lambda (&rest _)
(elbank-report--open-saved-report report type)))
(make-text-button beg (point)
'action
(lambda (&rest _)
(elbank-report--open-saved-report report type)))
(put-text-property beg (point) 'imenu-name (car report))
(insert "\n"))))))



Loading…
Cancel
Save