branch: elpa/subed commit cd972bd4642f4397bcd3229eca6b2fee38a98441 Author: Random User <rnd...@posteo.de> Commit: Random User <rnd...@posteo.de>
(not ...) instead of (eq ... nil) --- subed/subed-srt.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subed/subed-srt.el b/subed/subed-srt.el index b9456c9..260af16 100644 --- a/subed/subed-srt.el +++ b/subed/subed-srt.el @@ -415,7 +415,7 @@ following manner: \\[universal-argument] \\[universal-argument] \\[subed-subtitle-insert] Insert 2 subtitles before the current subtitle" (interactive "P") (save-match-data - (let* ((number-of-subs (cond ((eq arg nil) 1) ;; M-i + (let* ((number-of-subs (cond ((not arg) 1) ;; M-i ((integerp arg) arg) ;; C-u N M-i / C-u - N M-i ;; C-u [C-u ...] M-i / C-u - [C-u ...] M-i ((consp arg) (* (truncate (log (abs (car arg)) 4)) ;; ([-]64) -> 3