diff options
author | Griffin Smith <grfn@gws.fyi> | 2021-12-16T14·40-0500 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2021-12-16T14·52+0000 |
commit | 3bf3f9510562e98b51d6f771f2f37dc88f165af2 (patch) | |
tree | 8742823193168d42d0a9eb58a800a58ec9d72565 /ops/machines | |
parent | d85c6a1b56eae850a972d7c0708525a736d33d01 (diff) |
fix(grfn/emacs): More robust org-element title extraction r/3267
It *appears* that the main trigger for the :title of an org element being a list instead of a string is if it contains rich text properties as children, eg links, bold text, etc. This defines a function that *attempts* to turn all of those into a single string, for use in my i3status bar for the currently clocked-in task. Change-Id: Ib655595914e54cd0e01f0fee6d1352c98a9f1436 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4364 Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
Diffstat (limited to 'ops/machines')
0 files changed, 0 insertions, 0 deletions