Browse Source

Fix elbank-report--cell for labels

master
Nicolas Petton 3 years ago
parent
commit
8cd56db6ed
No known key found for this signature in database GPG Key ID: E8BCD7866AFCF978
1 changed files with 3 additions and 5 deletions
  1. +3
    -5
      elbank-report.el

+ 3
- 5
elbank-report.el View File

@ -478,11 +478,9 @@ Signal an error if there is no transaction at point."
"Return a button text with the label of TRANSACTION.
When clicking the button, jump to the transaction."
(with-temp-buffer
(insert (elbank-transaction-elt transaction
'custom-label
(elbank-transaction-elt transaction
'label
"")))
(insert (or (elbank-transaction-elt transaction 'custom-label)
(elbank-transaction-elt transaction 'label)
""))
(make-text-button (point-at-bol) (point)
'follow-link t
'action


Loading…
Cancel
Save