[Timeline] Disable undo
Undoing changes in the timeline buffer may make the display inconsistent with the values of the internal variables (in particular when lines got killed and the like).
This commit is contained in:
parent
a8385cb542
commit
5a309b1d0f
|
@ -373,7 +373,6 @@ interactively, START and END are queried with `org-read-date’."
|
||||||
(setq-local timeline-tools-time-format timeline-tools-time-format)
|
(setq-local timeline-tools-time-format timeline-tools-time-format)
|
||||||
(setq-local timeline-tools-headline-time-format timeline-tools-headline-time-format)
|
(setq-local timeline-tools-headline-time-format timeline-tools-headline-time-format)
|
||||||
(hl-line-mode)
|
(hl-line-mode)
|
||||||
(buffer-enable-undo)
|
|
||||||
(timeline-tools-redraw-timeline))
|
(timeline-tools-redraw-timeline))
|
||||||
(pop-to-buffer target-buffer)
|
(pop-to-buffer target-buffer)
|
||||||
t)))
|
t)))
|
||||||
|
|
Loading…
Reference in New Issue