Commit 721be9cd authored by Tassilo Horn's avatar Tassilo Horn
Browse files

* strokes.el (strokes-read-stroke): Re-fill strokes buffer with

spaces if the frame was resized, so that the full visible buffer
serves as canvas for strokes.
parent 885b8edb
2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
* strokes.el (strokes-read-stroke): Re-fill strokes buffer with
spaces if the frame was resized, so that the full visible buffer
serves as canvas for strokes.
2011-01-16 Glenn Morris <rgm@gnu.org>
 
* info-xref.el (info-xref-docstrings): Replace cl function.
......
......@@ -736,6 +736,11 @@ Optional EVENT is acceptable as the starting event of the stroke."
;; display the stroke as it's being read
(save-window-excursion
(set-window-configuration strokes-window-configuration)
;; The frame has been resized, so we need to refill the
;; strokes buffer so that the strokes canvas is the whole
;; visible buffer.
(unless (> 1 (abs (- (line-end-position) (window-width))))
(strokes-fill-current-buffer-with-whitespace))
(when prompt
(message "%s" prompt)
(setq event (read-event))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment