Skip to content

Commit

Permalink
Fix subed-regenerate-ids for SRT
Browse files Browse the repository at this point in the history
* subed/subed-srt.el (subed-srt--regenerate-ids): Fix regenerate-ids
implementation in subed.
  • Loading branch information
sachac committed Feb 2, 2022
1 parent 3e99c6c commit 9a660ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions subed/subed-srt.el
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,8 @@ Use the format-specific function for MAJOR-MODE."

;;; Maintenance

(cl-defmethod subed-regenerate-ids (&context (major-mode subed-srt-mode))
(cl-defmethod subed--regenerate-ids (&context (major-mode subed-srt-mode))
"Ensure consecutive, unduplicated subtitle IDs."
(interactive)
(atomic-change-group
(save-match-data
(save-excursion
Expand Down
2 changes: 1 addition & 1 deletion subed/subed.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; subed.el --- A major mode for editing subtitles -*- lexical-binding: t; -*-

;; Version: 1.0.1
;; Version: 1.0.2
;; Keywords: convenience, files, hypermedia, multimedia
;; URL: https://github.com/rndusr/subed
;; Package-Requires: ((emacs "25.1"))
Expand Down

0 comments on commit 9a660ed

Please sign in to comment.