diff options
Diffstat (limited to '')
-rw-r--r-- | emacsconf-subed.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/emacsconf-subed.el b/emacsconf-subed.el index efddcb8..93542ac 100644 --- a/emacsconf-subed.el +++ b/emacsconf-subed.el @@ -71,7 +71,7 @@ (save-buffer)))) (defun emacsconf-subed-convert-transcript-to-directives (id &optional chapters) - (interactive (read-string "ID: " "mainVideo")) + (interactive (list (read-string "ID: " "mainVideo"))) (goto-char (point-min)) (let* ((chapter-starts (mapcar 'car chapters)) (result (concat @@ -87,7 +87,7 @@ (replace-regexp-in-string "\"" "" ;" (replace-regexp-in-string "[][]" "" (subed-subtitle-text)))) - (subed-vtt--msecs-to-timestamp (subed-subtitle-msecs-start)) + (subed-msecs-to-timestamp (subed-subtitle-msecs-start)) id))))) (when (called-interactively-p 'any) (kill-new result)) |