[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/subed 9ccfef7 096/389: Add subed--right-pad
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/subed 9ccfef7 096/389: Add subed--right-pad |
Date: |
Fri, 3 Dec 2021 11:00:05 -0500 (EST) |
branch: elpa/subed
commit 9ccfef754a99c21457039847e8760714b100aba5
Author: Random User <rndusr@posteo.de>
Commit: Random User <rndusr@posteo.de>
Add subed--right-pad
---
subed/subed.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/subed/subed.el b/subed/subed.el
index 0512322..e1303ff 100644
--- a/subed/subed.el
+++ b/subed/subed.el
@@ -157,6 +157,10 @@ Before BODY is run, point is placed on the subtitle's ID."
(subed-forward-subtitle-id))
(progn ,@body))))))
+(defun subed--right-pad (string length fillchar)
+ "Use FILLCHAR to make STRING LENGTH characters long."
+ (concat string (make-string (- length (length string)) fillchar)))
+
;;; Moving subtitles
- [nongnu] elpa/subed 49e8e72 073/389: subed-srt-move-to-subtitle-end: Adjust docstring, (continued)
- [nongnu] elpa/subed 49e8e72 073/389: subed-srt-move-to-subtitle-end: Adjust docstring, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 473f041 077/389: Add ogv to video file extensions, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed bd4c44d 081/389: Fix typo, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed bd2c0e4 082/389: Add LICENSE, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 07c6b2b 083/389: Show more helpful error message if mpv isn't available, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 150a781 084/389: Rename *-move-to-* functions to *-jump-to-*, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed d2d3532 085/389: Rename get-adjust-time to get-seconds-adjust, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 73d303d 087/389: Adjust some docstrings, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed f76f7ea 092/389: Add keybindings C-M-n and C-M-p to move subtitles, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed d07bde4 093/389: Add moving subtitles to feature list and reword some stuff, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 9ccfef7 096/389: Add subed--right-pad,
ELPA Syncer <=
- [nongnu] elpa/subed d4b1ddf 103/389: Rename subed-seconds-adjust/move to subed-milliseconds-adjust/move, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed bdcdb0a 100/389: Remove deprecated variables, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 181b9f0 099/389: Test for lacking digits in millisecond, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 03dd3c6 106/389: Make subed-move-subtitle-forward/backward work with region (sort of), ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 0f385d6 110/389: Keep logging debug messages when debugging is disabled, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 612f12a 111/389: Add "moving marked subtitles forward/backward in time" to features, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 4522e1a 113/389: Change keybindings to better conform with major mode conventions, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed ecbfd7f 119/389: Remove useless (progn ...), ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed 1950bb0 121/389: subed--replay-adjusted-subtitle: Show debug message before doing the deed, ELPA Syncer, 2021/12/03
- [nongnu] elpa/subed f06d5f8 124/389: Add macro: subed--with-subtitle-replay-disabled, ELPA Syncer, 2021/12/03