[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/greader 42d5b881af 2/4: greader-get-sentence: change.
From: |
ELPA Syncer |
Subject: |
[elpa] externals/greader 42d5b881af 2/4: greader-get-sentence: change. |
Date: |
Thu, 26 Oct 2023 00:58:22 -0400 (EDT) |
branch: externals/greader
commit 42d5b881afe4c50c9af64e6565d4ad214a7e9761
Author: Michelangelo Rodriguez <michelangelo.rodriguez@gmail.com>
Commit: Michelangelo Rodriguez <michelangelo.rodriguez@gmail.com>
greader-get-sentence: change.
Now we use `buffer-substring' instead of
`buffer-substring-no-properties'.
---
greader.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/greader.el b/greader.el
index d76f622c05..beb7f2d17f 100644
--- a/greader.el
+++ b/greader.el
@@ -644,7 +644,7 @@ If at end of buffer, nil is returned."
(when (not (eobp))
(forward-sentence))
(if (> (point) sentence-start)
- (string-trim (buffer-substring-no-properties sentence-start
(point)) "[ \t\n\r]+")
+ (string-trim (buffer-substring sentence-start (point)) "[ \t\n\r
]+")
nil))))))
(defun greader-sentence-at-point ()