Add: (view--display) Insert newline at end of buffer
Prevents end-of-buffer from scrolling the window horizontally. Fixes #50. Thanks to @xeijin for suggesting.
This commit is contained in:
parent
cb6509ca6a
commit
d3272cdd8b
3 changed files with 63 additions and 42 deletions
|
|
@ -378,7 +378,7 @@ subsequent refreshing of the buffer: `org-ql-view-buffers-files',
|
|||
;; Clear buffer, insert entries, etc.
|
||||
(let ((inhibit-read-only t))
|
||||
(erase-buffer)
|
||||
(insert string)
|
||||
(insert string "\n")
|
||||
(pop-to-buffer (current-buffer) org-ql-view-display-buffer-action)
|
||||
(org-agenda-finalize)
|
||||
(goto-char (point-min))))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue