From 2fd7f5e04662b435b66009064257355b742b187d Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Sat, 27 Dec 2014 11:58:36 -0200 Subject: Hotfix Empty question buffer. --- sx-compose.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3