aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2014-12-27 15:43:18 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2014-12-27 15:43:18 -0200
commit026a6903e2bcc3a63da3db203b44516d9da3d9e4 (patch)
treec3813b8b75ae7a96b1097e4e91f066d1680ab157
parent6c20202ad50aeba70290de860bd1f5feb944c955 (diff)
parent2fd7f5e04662b435b66009064257355b742b187d (diff)
Merge branch 'master' into inbox
-rw-r--r--sx-compose.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/sx-compose.el b/sx-compose.el
index 5201435..ab4a58d 100644
--- a/sx-compose.el
+++ b/sx-compose.el
@@ -149,7 +149,8 @@ respectively added locally to `sx-compose-before-send-hook' and
(error "Invalid PARENT"))
(let ((is-question
(and (listp parent)
- (cdr (assoc 'title parent)))))
+ (or (null parent)
+ (cdr (assoc 'title parent))))))
(with-current-buffer (sx-compose--get-buffer-create site parent)
(sx-compose-mode)
(setq sx-compose--send-function