[Timeline] Enable hl-mode and select buffer on display

This commit is contained in:
Daniel - 2018-04-30 16:55:58 +02:00
parent 4fafab7b5d
commit 8d5f7fbe0b
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 2 additions and 1 deletions

View File

@ -325,6 +325,7 @@ are queried with `org-read-date."
(with-current-buffer target-buffer
(erase-buffer)
(org-mode)
(hl-line-mode)
(insert "|--|\n")
(insert "| Category | Start | End | Duration | Task |\n")
(insert "|--|\n")
@ -343,7 +344,7 @@ are queried with `org-read-date."
(goto-char (point-min))
(org-table-align)
(buffer-enable-undo))
(display-buffer target-buffer)
(pop-to-buffer target-buffer)
t)))
;;;###autoload