From 53784ef861bcb71bcda9146a1b5a8d3ddaa7f975 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 2 Jun 2013 10:01:10 +0200 Subject: [PATCH] org.el: Fix some docstrings * lisp/org.el (org-fill-paragraph-separate-nobreak-p, org-fill-line-break-nobreak-p, org-fill-paragraph-with-timestamp-nobreak-p): Fix docstrings. --- lisp/org.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index c4caed8b5..b9e6d9e95 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -22087,18 +22087,18 @@ hierarchy of headlines by UP levels before marking the subtree." (defvar org-element-paragraph-separate) ; org-element.el (defun org-fill-paragraph-separate-nobreak-p () - "Non-nil when a line break at point would insert a new item." + "Non-nil when a new line at point would end current paragraph." (looking-at (substring org-element-paragraph-separate 1))) (defun org-fill-line-break-nobreak-p () - "Non-nil when a line break at point would create an Org line break." + "Non-nil when a new line at point would create an Org line break." (save-excursion (skip-chars-backward "[ \t]") (skip-chars-backward "\\\\") (looking-at "\\\\\\\\\\($\\|[^\\\\]\\)"))) (defun org-fill-paragraph-with-timestamp-nobreak-p () - "Non-nil when a line break at point would insert a new item." + "Non-nil when a new line at point would split a timestamp." (and (org-at-timestamp-p t) (not (looking-at org-ts-regexp-both))))