[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/greader c910dcd5bf 4/5: some other fixes.
From: |
ELPA Syncer |
Subject: |
[elpa] externals/greader c910dcd5bf 4/5: some other fixes. |
Date: |
Thu, 1 Sep 2022 09:57:45 -0400 (EDT) |
branch: externals/greader
commit c910dcd5bf82787ad577b92bc35188fc78eb8335
Author: Michelangelo Rodriguez <michelangelo.rodriguez@gmail.com>
Commit: Michelangelo Rodriguez <michelangelo.rodriguez@gmail.com>
some other fixes.
---
greader.el | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/greader.el b/greader.el
index 0b8101ee18..8fdb1ee855 100644
--- a/greader.el
+++ b/greader.el
@@ -836,10 +836,10 @@ In this mode, greader will enter in tired mode at a
customizable time
(cl-incf counter)
(if (= i 24)
(setq i 0))))
- (setcar (cdr (cdr current-t)) counter)
- (setcar current-t 0)
- (setcar (cdr current-t) 0)
- (apply 'encode-time current-t)))
+ (setf (nth 2 current-t) counter)
+ (setf (nth 0 current-t) 0)
+ (setf (nth 1 current-t) 0)
+ (apply #'encode-time current-t)))
(defun greader-current-time-in-interval-p (time1 time2)
"Not documented, internal use."
@@ -874,7 +874,7 @@ In this mode, greader will enter in tired mode at a
customizable time
(defun greader-set-rate (n)
"Set rate in current buffer to tthe specified value in N.
-rate is expressed in words per minute. For maximum value, see 'man espeak'."
+rate is expressed in words per minute. For maximum value, see `man espeak'."
(greader-call-backend 'rate n))
@@ -902,17 +902,19 @@ If prefix, it will be used to decrement rate."
"Return t if STR has lines iphenated."
(let
((i 0)
- (j 0))
+ ;; (j 0)
+ )
(catch 'done
(while (< i (length str))
(if (and (member (string (aref str i)) greader-hyphenation-symbol)
(member (string (aref str (1+ i)))
greader-hyphenation-newlines))
(progn
- (setq j 1)
+ ;; (setq j 1)
(throw 'done t)))
(cl-incf i))
- (if (= j 0)
- nil))))
+ ;; (if (= j 0)
+ nil ;;)
+ )))
(defun greader-dehyphenate (str)
"Dehyphenate STR.
- [elpa] externals/greader updated (4ed6e8b7ab -> 01554ab1db), ELPA Syncer, 2022/09/01
- [elpa] externals/greader cbd8245a63 2/5: Removing greader-pkg.el because not necessary to build elpa package., ELPA Syncer, 2022/09/01
- [elpa] externals/greader c910dcd5bf 4/5: some other fixes.,
ELPA Syncer <=
- [elpa] externals/greader 473f6fb8f1 3/5: Some functions marked as internal, plus other code improvements., ELPA Syncer, 2022/09/01
- [elpa] externals/greader 2c44b3ca8f 1/5: Rehorganizing keymap definitions., ELPA Syncer, 2022/09/01
- [elpa] externals/greader 01554ab1db 5/5: Merge branch 'devel', ELPA Syncer, 2022/09/01