[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/subed 821b259 045/389: subed-srt--regenerate-ids: Make thi
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/subed 821b259 045/389: subed-srt--regenerate-ids: Make this a public function |
Date: |
Fri, 3 Dec 2021 10:59:54 -0500 (EST) |
branch: elpa/subed
commit 821b259d83ba75858bd530b2bc82c16f43cad23a
Author: Random User <rndusr@posteo.de>
Commit: Random User <rndusr@posteo.de>
subed-srt--regenerate-ids: Make this a public function
---
subed/subed-srt.el | 4 ++--
tests/test-subed-srt.el | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/subed/subed-srt.el b/subed/subed-srt.el
index f186d14..23344eb 100644
--- a/subed/subed-srt.el
+++ b/subed/subed-srt.el
@@ -413,7 +413,7 @@ Return point or nil if there is no previous subtitle."
(when (looking-at "^[[:blank:]]*$")
(forward-line -1)
(kill-whole-line)))
- (subed-srt--regenerate-ids)
+ (subed-srt-regenerate-ids)
(subed-srt-move-to-subtitle-text))))
(defun subed-srt-subtitle-kill ()
@@ -442,7 +442,7 @@ Return point or nil if there is no previous subtitle."
;;; Maintenance
-(defun subed-srt--regenerate-ids ()
+(defun subed-srt-regenerate-ids ()
"Ensure subtitle IDs start at 1 and are incremented by 1 for
each subtitle."
(interactive)
diff --git a/tests/test-subed-srt.el b/tests/test-subed-srt.el
index ecd1160..b717816 100644
--- a/tests/test-subed-srt.el
+++ b/tests/test-subed-srt.el
@@ -971,7 +971,7 @@ Baz.
(while (looking-at "^[0-9]$")
(replace-match "123"))
(expect (buffer-string) :not :to-equal mock-srt-data)
- (subed-srt--regenerate-ids)
+ (subed-srt-regenerate-ids)
(expect (buffer-string) :to-equal mock-srt-data))))
(describe "Sorting"
- [nongnu] elpa/subed 31f8255 016/389: README: Turns out spaces are not the issue, (continued)
- [nongnu] elpa/subed 31f8255 016/389: README: Turns out spaces are not the issue, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 27c8141 014/389: Some work on README, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 6b97e24 023/389: Fix test's description, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 7e04e16 013/389: Use C-u ... when inserting subtitles, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 005c0cc 027/389: Remove TODO for C-u N M-k, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed fd737b7 035/389: Use save-excursion in subed--save-excursion, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 0815e10 047/389: Simplify subed-srt--regexp-duration, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed bbd239a 042/389: subed-srt--regenerate-ids: Wrap function body in atomic-change-group, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 8790abf 048/389: Add subed-srt-validate, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 7d76a35 049/389: Simplify subed-srt-move-to-subtitle-text, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 821b259 045/389: subed-srt--regenerate-ids: Make this a public function,
ELPA Syncer <=
- [nongnu] elpa/subed d3d2013 050/389: Look for stop time only on the relevant line, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 042941c 051/389: Fix docstrings, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 4e50796 052/389: Fix subed-srt-backward-subtitle-id, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 86914b4 053/389: Add more tests for moving to next/previous subtitle ID, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 6391996 056/389: Kill debugging buffer+window in subed-disable-debugging, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 0fe0c82 059/389: When opening debug window, always split horizontally, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 4e31010 062/389: mpv returns nil as "time-pos" in at least one circumstance, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 1c8e0d1 064/389: Sanitize separator between start and stop time, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 3c1a1b4 065/389: Don't validate anything if buffer is empty, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed ce14b0d 074/389: Adjust comment, ELPA Syncer, 2021/12/03