Remove occasional spurious space character when auto-filling

* lisp/org.el (org-adaptive-fill-function): Remove occasional spurious
  space character when auto-filling.
This commit is contained in:
Nicolas Goaziou 2012-09-01 21:38:18 +02:00
parent 8a0abc4dc2
commit 4026f2e3ad
1 changed files with 2 additions and 2 deletions

View File

@ -21061,7 +21061,7 @@ meant to be filled."
(make-string (org-list-item-body-column
(org-element-property :begin parent))
? ))
((looking-at "[ \t]*") (match-string 0))
((looking-at "[ \t]+") (match-string 0))
(t ""))))
(comment-block
;; Only fill contents if P is within block boundaries.
@ -21073,7 +21073,7 @@ meant to be filled."
(skip-chars-backward " \r\t\n")
(line-beginning-position))))
(when (and (>= p cbeg) (< p cend))
(if (looking-at "[ \t]*") (match-string 0) ""))))))))))
(if (looking-at "[ \t]+") (match-string 0) ""))))))))))
(declare-function message-goto-body "message" ())
(defvar message-cite-prefix-regexp) ; From message.el