[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/subed a63a472039 2/2: Add autoload cookies
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/subed a63a472039 2/2: Add autoload cookies |
Date: |
Wed, 26 Oct 2022 09:59:53 -0400 (EDT) |
branch: elpa/subed
commit a63a47203944390180bae776fbe0355774117984
Author: Sacha Chua <sacha@sachachua.com>
Commit: Sacha Chua <sacha@sachachua.com>
Add autoload cookies
---
subed/subed-word-data.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/subed/subed-word-data.el b/subed/subed-word-data.el
index b474611f5b..d587ee51e7 100644
--- a/subed/subed-word-data.el
+++ b/subed/subed-word-data.el
@@ -70,6 +70,7 @@ For now, only SRV2 files are supported."
(setq-local subed-word-data--cache data)
(add-hook 'subed-split-subtitle-timestamp-functions
#'subed-word-data-split-at-word-timestamp -5 t))
+;;;###autoload
(defun subed-word-data-load-from-file (file)
"Load word-level timing from FILE.
For now, only SRV2 files are supported."
@@ -83,6 +84,7 @@ For now, only SRV2 files are supported."
(defvar subed-word-data-extensions '(".en.srv2" ".srv2") "Extensions to search
for word data.")
+;;;###autoload
(defun subed-word-data-load-maybe ()
"Load word data if available. Suitable for adding to `subed-mode-hook'."
(when (buffer-file-name)