aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2014-11-26 12:24:14 +0000
committerArtur Malabarba <bruce.connor.am@gmail.com>2014-11-26 12:24:14 +0000
commit16952fa49769398bf47373e7585812ac06392ee8 (patch)
tree28375e03b3daef66c34ec06b78f1b5eee5087607
parent244aca25de91f6b6e5e9d59775ab05f0669df80c (diff)
Give feedback on finished refresh.
Now that position is preserved, refreshing is so discreet that we need some feedback. :)
-rw-r--r--sx-question-list.el3
-rw-r--r--sx-question-mode.el3
2 files changed, 4 insertions, 2 deletions
diff --git a/sx-question-list.el b/sx-question-list.el
index bb49b54..98e7736 100644
--- a/sx-question-list.el
+++ b/sx-question-list.el
@@ -385,7 +385,8 @@ a new list before redisplaying."
(setq tabulated-list-entries
(mapcar sx-question-list--print-function
(cl-remove-if #'sx-question--hidden-p question-list)))
- (when redisplay (tabulated-list-print 'remember))))
+ (when redisplay (tabulated-list-print 'remember))
+ (sx-message "Done.")))
(defcustom sx-question-list-ago-string " ago"
"String appended to descriptions of the time since something happened.
diff --git a/sx-question-mode.el b/sx-question-mode.el
index c90e3e1..b2f4604 100644
--- a/sx-question-mode.el
+++ b/sx-question-mode.el
@@ -606,7 +606,8 @@ query the api."
(goto-char point)
(when (equal (selected-window)
(get-buffer-window (current-buffer)))
- (recenter line))))
+ (recenter line)))
+ (sx-message "Done."))
(defun sx-question-mode--ensure-mode ()
"Ensures we are in question mode, erroring otherwise."