[Timeline] Don’t make time formats customizable
One can overwrite them using standard dynamic binding.
This commit is contained in:
parent
8f0549d5d3
commit
2eeb057122
|
@ -32,18 +32,6 @@ Filter are applied in the order they are given in this list."
|
||||||
:group 'timeline-tools
|
:group 'timeline-tools
|
||||||
:type '(list function))
|
: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
|
;; Mode definition
|
||||||
|
|
||||||
|
@ -59,6 +47,12 @@ Filter are applied in the order they are given in this list."
|
||||||
(defvar timeline-tools--current-timeline nil
|
(defvar timeline-tools--current-timeline nil
|
||||||
"Currently displayed timeline in abstract form.")
|
"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
|
(defvar timeline-tools-mode-map
|
||||||
(let ((map (make-sparse-keymap)))
|
(let ((map (make-sparse-keymap)))
|
||||||
(define-key map [remap self-insert-command] 'undefined)
|
(define-key map [remap self-insert-command] 'undefined)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user