emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/subed 8bdec56 356/389: Move subed-split-subtitle to "Inser


From: ELPA Syncer
Subject: [nongnu] elpa/subed 8bdec56 356/389: Move subed-split-subtitle to "Inserting" section
Date: Fri, 3 Dec 2021 11:00:57 -0500 (EST)

branch: elpa/subed
commit 8bdec5620aeef3129eaff26464a44450f1eac699
Author: Random User <rndusr@posteo.de>
Commit: Random User <rndusr@posteo.de>

    Move subed-split-subtitle to "Inserting" section
---
 subed/subed-common.el | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/subed/subed-common.el b/subed/subed-common.el
index a4e7d55..c14920e 100644
--- a/subed/subed-common.el
+++ b/subed/subed-common.el
@@ -621,16 +621,6 @@ following manner:
     (subed-regenerate-ids-soon))
   (point))
 
-;;; Merging
-
-(defun subed-merge-with-previous ()
-  "Merge the current subtitle with the previous subtitle.
-Update the end timestamp accordingly."
-  (interactive)
-  (if (subed-backward-subtitle-id)
-      (subed-merge-with-next)
-    (error "No previous subtitle to merge into")))
-
 (defun subed-split-subtitle ()
   "Split current subtitle at point.
 
@@ -669,6 +659,16 @@ Return point of the new subtitle.
     (subed-regenerate-ids-soon)
     (point)))
 
+;;; Merging
+
+(defun subed-merge-with-previous ()
+  "Merge the current subtitle with the previous subtitle.
+Update the end timestamp accordingly."
+  (interactive)
+  (if (subed-backward-subtitle-id)
+      (subed-merge-with-next)
+    (error "No previous subtitle to merge into")))
+
 ;;; Replay time-adjusted subtitle
 
 (defun subed-replay-adjusted-subtitle-p ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]