[Timeline] Don’t make time formats customizable

One can overwrite them using standard dynamic binding.
This commit is contained in:
Daniel - 2018-07-31 14:12:49 +02:00
parent 8f0549d5d3
commit 2eeb057122
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 6 additions and 12 deletions

View File

@ -32,18 +32,6 @@ Filter are applied in the order they are given in this list."
:group 'timeline-tools
:type '(list function))
(defcustom timeline-tools-headline-time-format
"%Y-%m-%d %H:%M"
"Format of time used in the headline of a timeline."
:group 'timeline-tools
:type 'string)
(defcustom timeline-tools-time-format
"%Y-%m-%d %H:%M"
"Format of time used inside a timeline"
:group 'timeline-tools
:type 'string)
;; Mode definition
@ -59,6 +47,12 @@ Filter are applied in the order they are given in this list."
(defvar timeline-tools--current-timeline nil
"Currently displayed timeline in abstract form.")
(defvar timeline-tools-headline-time-format "%Y-%m-%d %H:%M"
"Format of time used in the headline of a timeline.")
(defvar timeline-tools-time-format "%Y-%m-%d %H:%M"
"Format of time used inside a timeline")
(defvar timeline-tools-mode-map
(let ((map (make-sparse-keymap)))
(define-key map [remap self-insert-command] 'undefined)