branch: elpa/subed commit 8bdec5620aeef3129eaff26464a44450f1eac699 Author: Random User <rnd...@posteo.de> Commit: Random User <rnd...@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 ()