[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/subed c9b0ea7fcb 1/2: Fix before-save-hook in main (subed-
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/subed c9b0ea7fcb 1/2: Fix before-save-hook in main (subed-prepare-to-save) |
Date: |
Sun, 23 Jan 2022 18:58:26 -0500 (EST) |
branch: elpa/subed
commit c9b0ea7fcb61d512443b594d5f44f630f5dea0e6
Author: Sacha Chua <sacha@sachachua.com>
Commit: Sacha Chua <sacha@sachachua.com>
Fix before-save-hook in main (subed-prepare-to-save)
---
subed/subed.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/subed/subed.el b/subed/subed.el
index 3366d08fbc..83d4e2a379 100644
--- a/subed/subed.el
+++ b/subed/subed.el
@@ -193,7 +193,7 @@ Key bindings:
:group 'subed
(subed--init)
(add-hook 'post-command-hook #'subed--post-command-handler :append :local)
- (add-hook 'before-save-hook #'subed-prepare-for-save :append :local)
+ (add-hook 'before-save-hook #'subed-prepare-to-save :append :local)
(add-hook 'after-save-hook #'subed-mpv-reload-subtitles :append :local)
(add-hook 'kill-buffer-hook #'subed-mpv-kill :append :local)
(add-hook 'kill-emacs-hook #'subed-mpv-kill :append :local)