[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: Using org-backward-paragraph in the middle of a headline pr
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Bug: Using org-backward-paragraph in the middle of a headline produces an error [9.1.2 (9.1.2-elpaplus @ /home/omar/.emacs.d/elpa/org-plus-contrib-20171004/)] |
Date: |
Fri, 06 Oct 2017 19:36:20 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Hello,
Omar Antolin <address@hidden> writes:
> If you have an org buffer that contains just:
>
> * A headline
>
> And when the point is, say, on the `h`, you run `org-backward-paragraph`
> you get the error message: "Wrong type argument: number-or-marker-p,
> nil". It comes from the comparison `(>= (point) contents-end)`: when
> you're in the middle of a headline, `contents-end` gets set to `nil` which
> can't be compared with `(point)`.
Fixed. Thank you.
Regards,
--
Nicolas Goaziou