diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2020-11-08 11:20:11 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2020-11-08 11:20:11 -0700 |
commit | af5e2afb8c862f348da75c25cb0a71fb444fe2a7 (patch) | |
tree | 572057746ac8bff2badef0ad7ad67e989be1793e /org-d20.el | |
parent | a64af30bd4e5ffe4d49813abe7776a0676c3c74f (diff) | |
download | org-d20-af5e2afb8c862f348da75c25cb0a71fb444fe2a7.tar.gz |
also redraw the frame
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'org-d20.el')
-rw-r--r-- | org-d20.el | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -467,7 +467,12 @@ the best N of them, e.g., 4d6k3." (goto-char (point-max)) (beginning-of-line) (recenter -1) - (redisplay)))) + ;; without the following line, the dice roll doesn't show up + ;; until `play-sound-file' has finished + (redisplay) + ;; and without this line, the split window appears selected + ;; even when it isn't + (redraw-frame)))) (if-let ((window (get-buffer-window "*Dice Trail*"))) (when (window-parameter window 'org-d20--dice-trail-split) (scroll window)) |