[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix bug in org-num check for commented headlines
From: |
Nicolas Goaziou |
Subject: |
Re: [PATCH] Fix bug in org-num check for commented headlines |
Date: |
Thu, 27 Aug 2020 11:31:14 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hello,
Anders Johansson <mejlaandersj@gmail.com> writes:
> I found an easily solved bug in org-num.
>
> This happens when org-num-skip-commented is non-nil.
> When creating a new headline, often org-num--skip-value is invoked
> before any headline text is created. This means that ‘title‘ is nil
> and the string-match check breaks. Checking if title is non-nil fixes
> this.
Applied. Thank you.
Regards,
--
Nicolas Goaziou