From 58280041655c3bd940ea1721af0d4f73e736ca05 Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Wed, 14 Jan 2015 22:48:38 -0200 Subject: Navigate to answer after printing question --- sx-interaction.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sx-interaction.el') diff --git a/sx-interaction.el b/sx-interaction.el index f122f13..09fa112 100644 --- a/sx-interaction.el +++ b/sx-interaction.el @@ -141,7 +141,8 @@ Element can be a question, answer, or comment." (cl-case .type (answer (sx-display-question - (sx-question-get-from-answer .site_par .id) 'focus)) + (sx-question-get-from-answer .site_par .id) 'focus) + (sx--find-in-buffer 'answer .id)) (question (sx-display-question (sx-question-get-question .site_par .id) 'focus)) @@ -170,7 +171,8 @@ likes." (.answer_id (sx-display-question (sx-question-get-from-answer .site_par .id) - 'focus)) + 'focus) + (sx--find-in-buffer 'answer .answer_id)) (.question_id (sx-display-question (sx-question-get-question .site_par .id) 'focus)) -- cgit v1.2.3