[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/orgalist 4939c6f: Fix auto-fill when point is not befor
From: |
Nicolas Goaziou |
Subject: |
[elpa] externals/orgalist 4939c6f: Fix auto-fill when point is not before first child |
Date: |
Wed, 8 Apr 2020 18:57:52 -0400 (EDT) |
branch: externals/orgalist
commit 4939c6fbdd7e93fa1fb491902b825c0d4a83478f
Author: Nicolas Goaziou <address@hidden>
Commit: Nicolas Goaziou <address@hidden>
Fix auto-fill when point is not before first child
* orgalist.el (orgalist--call-in-item): When point is after the first
sub-list, the function should not narrow the buffer to the part of the
item before that sub-list.
---
orgalist.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/orgalist.el b/orgalist.el
index de97503..8eeadc8 100644
--- a/orgalist.el
+++ b/orgalist.el
@@ -240,8 +240,7 @@ group 4: description tag")
"Call function FUN with buffer narrowed to item starting at POS.
Call function with ARGUMENTS. Return the value FUN returns."
(let* ((struct (save-excursion (goto-char pos) (orgalist--struct)))
- (next (or (org-list-has-child-p pos struct)
- (org-list-get-item-end pos struct)))
+ (next (org-list-has-child-p pos struct))
(fill-prefix
(make-string (+ (length (org-list-get-bullet pos struct))
(org-list-get-ind pos struct))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/orgalist 4939c6f: Fix auto-fill when point is not before first child,
Nicolas Goaziou <=