branch: elpa/subed commit e8612e763257beabbeec12ebb7c5450f69c2b733 Author: Random User <rnd...@posteo.de> Commit: Random User <rnd...@posteo.de>
Unify optional argument name --- subed/subed-common.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/subed/subed-common.el b/subed/subed-common.el index 8677a2d..8e80025 100644 --- a/subed/subed-common.el +++ b/subed/subed-common.el @@ -313,21 +313,21 @@ When moving subtitles backward (MSECS < 0), it's the same thing but we move the start time first." (if (> msecs 0) ;; Moving forward - (lambda (msecs &optional ignore-limits) + (lambda (msecs &optional ignore-spacing) (let ((msecs (subed-adjust-subtitle-time-stop msecs :ignore-negative-duration - ignore-limits))) + ignore-spacing))) (when msecs (subed-adjust-subtitle-time-start msecs :ignore-negative-duration - ignore-limits)))) + ignore-spacing)))) ;; Moving backward - (lambda (msecs &optional ignore-limits) + (lambda (msecs &optional ignore-spacing) (let ((msecs (subed-adjust-subtitle-time-start msecs :ignore-negative-duration - ignore-limits))) + ignore-spacing))) (when msecs (subed-adjust-subtitle-time-stop msecs :ignore-negative-duration - ignore-limits)))))) + ignore-spacing)))))) (defun subed--move-current-subtitle (msecs) "Move subtitle on point by MSECS milliseconds."