diff options
author | Sacha Chua <sacha@sachachua.com> | 2022-12-20 13:07:29 -0500 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2022-12-20 13:07:29 -0500 |
commit | 38a7562df8daadfee638ec34a1a0adc8f56899ce (patch) | |
tree | 96d3626734385039a393a8bbe1e29eedb2334569 /emacsconf-subed.el | |
parent | 7ddeecf637983993eda02740660f2e389040571a (diff) | |
download | emacsconf-el-38a7562df8daadfee638ec34a1a0adc8f56899ce.tar.xz emacsconf-el-38a7562df8daadfee638ec34a1a0adc8f56899ce.zip |
extraction
Diffstat (limited to 'emacsconf-subed.el')
-rw-r--r-- | emacsconf-subed.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacsconf-subed.el b/emacsconf-subed.el index 250f707..0e35a61 100644 --- a/emacsconf-subed.el +++ b/emacsconf-subed.el @@ -164,7 +164,7 @@ TYPE can be 'end if you want the match end instead of the beginning." (when current (setq result (cons current result))) (setq current (list nil (elt o 1) (elt o 2) - (string-trim (replace-regexp-in-string "^NOTE[ \n]+" " " (elt o 4)))))) + (string-trim (replace-regexp-in-string "^NOTE[ \n]+\\|[ \n]+" " " (elt o 4)))))) ;; update the end time to include the current subtitle (when current (setf (elt current 2) (elt o 2))))) subtitles) |