diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-12-02 01:20:34 +0000 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-12-02 01:20:34 +0000 |
commit | f939c9d9fd7a2e7aabe23b2a8084652d12ca5751 (patch) | |
tree | 56cad470f9be28266fea0722ea33e3a7761a8b95 /sx-question-mode.el | |
parent | 59c49ce60fcfa1fac4827beb11a04c0ef8585b9a (diff) |
Fix bug introduced by new use of overlays.
Diffstat (limited to 'sx-question-mode.el')
-rw-r--r-- | sx-question-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sx-question-mode.el b/sx-question-mode.el index cc4c082..b685ea7 100644 --- a/sx-question-mode.el +++ b/sx-question-mode.el @@ -110,7 +110,7 @@ Prefix argument N moves N sections down or up." (cl-decf count))))) (when (equal (selected-window) (get-buffer-window)) (when sx-question-mode-recenter-line - (let ((ov (car-safe (sx-question-mode--section-overlays-at (line-end-position))))) + (let ((ov (sx-question-mode--section-overlays-at (line-end-position)))) (when (and (overlayp ov) (> (overlay-end ov) (window-end))) (recenter sx-question-mode-recenter-line)))) (sx-message-help-echo))) |