branch: elpa/fedi
commit 33df5c7a1a986b798cc12d8073ff4a63876789e5
Author: marty hiatt <[email protected]>
Commit: marty hiatt <[email protected]>
rename byline to region in find region
---
fedi.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fedi.el b/fedi.el
index 7fdc5b13498..c8a5f4b0a16 100644
--- a/fedi.el
+++ b/fedi.el
@@ -647,12 +647,12 @@ REPLACE-FUN is a function sent to
should be called with at least 1 arg: the item's json."
(let ((json (fedi--property 'json)))
(let ((inhibit-read-only t)
- (byline
+ (region
(fedi--find-property-range prop (point)
(when (fedi--property prop)
:backwards))))
(fedi--replace-region-contents
- (car byline) (cdr byline)
+ (car region) (cdr region)
replace-fun))))
(defun fedi--replace-region-contents (beg end replace-fun)