diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-12-27 11:58:36 -0200 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-12-27 11:58:36 -0200 |
commit | 2fd7f5e04662b435b66009064257355b742b187d (patch) | |
tree | 647a7af656722902dda69c0131ed2556ba0cba30 | |
parent | a919c72f2b58d889bf3fbdde100f9912a90c64ab (diff) |
Hotfix Empty question buffer.
-rw-r--r-- | sx-compose.el | 3 |
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 |