aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2014-12-27 11:01:45 -0500
committerSean Allred <code@seanallred.com>2014-12-27 11:01:45 -0500
commitc215e84da4dcfa63c7a0c05996cc131e031efe64 (patch)
treef7f96e773ff66a02be7f258221eaf2259814f714
parentb006537bb48201cf7996958ef0cc3b918268ff33 (diff)
parent2fd7f5e04662b435b66009064257355b742b187d (diff)
Merge branch 'master' into issue-151--dot-variables
-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