diff options
author | Sean Allred <code@seanallred.com> | 2014-12-30 17:47:42 -0500 |
---|---|---|
committer | Sean Allred <code@seanallred.com> | 2014-12-30 17:47:42 -0500 |
commit | b20f56b0c59b1e99fac745e408369d01de0f0bb5 (patch) | |
tree | fa30f72a8fbe94e5b319c9163b1d70d8768ad65e /sx-question-list.el | |
parent | c215e84da4dcfa63c7a0c05996cc131e031efe64 (diff) | |
parent | 1267f300c850173e74dda0b7f704261b4a25b85c (diff) |
Merge branch 'master' into issue-151--dot-variables
Conflicts:
sx.el
Diffstat (limited to 'sx-question-list.el')
-rw-r--r-- | sx-question-list.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sx-question-list.el b/sx-question-list.el index 6537d2b..4bd6478 100644 --- a/sx-question-list.el +++ b/sx-question-list.el @@ -317,7 +317,7 @@ into consideration. (":" sx-question-list-switch-site) ("t" sx-tab-switch) ("a" sx-ask) - ("v" sx-visit) + ("v" sx-visit-externally) ("u" sx-toggle-upvote) ("d" sx-toggle-downvote) ("h" sx-question-list-hide) @@ -333,6 +333,11 @@ Non-interactively, DATA is a question alist." (tabulated-list-get-id) (sx-user-error "Not in `sx-question-list-mode'")))) (sx-question--mark-hidden data) + ;; The current entry will not be present after the list is + ;; redisplayed. To avoid `tabulated-list-mode' getting lost (and + ;; sending us to the top) we move to the next entry before + ;; redisplaying. + (forward-line 1) (when (called-interactively-p 'any) (sx-question-list-refresh 'redisplay 'noupdate))) |