tecosaur / org-glossary

Mirror of https://git.tecosaur.net/tec/org-glossary
GNU General Public License v3.0
97 stars 4 forks source link

Error when exporting a subtree #17

Closed tecosaur closed 5 months ago

tecosaur commented 11 months ago

Currently, when trying to export a subtree in a buffer containing a glossary, I run into the following error:

Debugger entered--Lisp error: (args-out-of-range #<buffer manuscript.org<2>> 19628 19633)
  match-string(0)
  org-glossary--update-plain(((...) ...) nil nil)
  org-glossary-apply-terms(((...) ...))
  org-glossary--prepare-buffer(latex)

We probably need some special handling.

tecosaur commented 5 months ago

Fixed in 775915929708734d03a9015517c6757dd1de67f0.