branch: externals/greader
commit d4f2503f92f5dadca60ffab3d6bf7766ad3097be
Author: Michelangelo Rodriguez <michelangelo.rodrig...@gmail.com>
Commit: Michelangelo Rodriguez <michelangelo.rodrig...@gmail.com>

    greader version 0.11.4
    
    More work on empty blocks.
---
 greader-audiobook.el | 2 ++
 greader.el           | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/greader-audiobook.el b/greader-audiobook.el
index e1644275df..4ce4e58b36 100644
--- a/greader-audiobook.el
+++ b/greader-audiobook.el
@@ -161,6 +161,8 @@ Return a cons with start and end of the block or nil if at 
end of the buffer."
          (end (point-max)))
       (if (assq major-mode greader-audiobook-modes)
          (progn
+           (when (looking-at "\\W")
+             (setq start (re-search-forward "\\W*" nil 1)))
            (re-search-forward
             (cdr (assq major-mode greader-audiobook-modes))
             nil t 1)
diff --git a/greader.el b/greader.el
index 6640329f27..82f4c1f6a7 100644
--- a/greader.el
+++ b/greader.el
@@ -8,7 +8,7 @@
 ;; URL: https://gitlab.com/michelangelo-rodriguez/greader
 
 ;; package-requires: ((google-translate))
-;; Version: 0.11.3
+;; Version: 0.11.4
 
 ;; This program is free software; you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by

Reply via email to