Make taskwarrior buffer read-only

This commit is contained in:
Patrick Winter 2018-11-13 16:57:20 +01:00
parent 1ffe30ca10
commit b24d019882

View file

@ -133,6 +133,7 @@ the front and focus it. Otherwise, create one and load the data."
(erase-buffer) (erase-buffer)
(taskwarrior-load-tasks "1-1000") (taskwarrior-load-tasks "1-1000")
(taskwarrior-write-entries) (taskwarrior-write-entries)
(toggle-read-only)
(hl-line-mode) (hl-line-mode)
(goto-char (point-min)) (goto-char (point-min))
(while (not (equal (overlays-at (point)) nil)) (while (not (equal (overlays-at (point)) nil))