[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master dd8158e 4/5: [gnorb] Fix handling of region-bounds return
From: |
Eric Abrahamsen |
Subject: |
[elpa] master dd8158e 4/5: [gnorb] Fix handling of region-bounds return value |
Date: |
Fri, 4 May 2018 14:39:04 -0400 (EDT) |
branch: master
commit dd8158e52ad0cde6fc3e5347ee5863447e7ad9f6
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>
[gnorb] Fix handling of region-bounds return value
* packages/gnorb/gnorb-org.el (gnorb-org-handle-mail): It returns a
list of cons cells. Did it always do that? Why?
---
packages/gnorb/gnorb-org.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/gnorb/gnorb-org.el b/packages/gnorb/gnorb-org.el
index 98c7a35..287345d 100644
--- a/packages/gnorb/gnorb-org.el
+++ b/packages/gnorb/gnorb-org.el
@@ -443,7 +443,7 @@ composed. FILE is a file to attach to the message."
(goto-char pos)))
(let ((region
(when (use-region-p)
- (region-bounds))))
+ (car (region-bounds)))))
(deactivate-mark)
(save-excursion
(unless (org-back-to-heading t)