branch: elpa/subed commit 042941c061d4a0d07dac37ca2e5b8b9bc39ff241 Author: Random User <rnd...@posteo.de> Commit: Random User <rnd...@posteo.de>
Fix docstrings --- subed/subed-srt.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/subed/subed-srt.el b/subed/subed-srt.el index 7880073..d289185 100644 --- a/subed/subed-srt.el +++ b/subed/subed-srt.el @@ -204,7 +204,7 @@ See also `subed-srt--subtitle-id-at-msecs'." (defun subed-srt-move-to-subtitle-end (&optional sub-id) "Move point after the last character of the subtitle's text. -Return point or nil if point unless point did not change." +Return point or nil if point did not change." (interactive) (save-match-data (let ((orig-point (point))) @@ -221,8 +221,7 @@ Return point or nil if point unless point did not change." (defun subed-srt-forward-subtitle-id () "Move point to next subtitle's ID. -Return point or nil if point didn't change (e.g. if called on the -last subtitle)." +Return point or nil if there is no next subtitle." (interactive) (save-match-data (when (re-search-forward (concat subed-srt--regexp-separator "[0-9]+\n") nil t)