]> code.delx.au - gnu-emacs/commit
Fix todo-mode item date editing bugs
authorStephen Berman <stephen.berman@gmx.net>
Sat, 20 Feb 2016 12:44:47 +0000 (13:44 +0100)
committerStephen Berman <stephen.berman@gmx.net>
Sat, 20 Feb 2016 12:44:47 +0000 (13:44 +0100)
commit1cb126866df0b01aa2eaa51eeba696997d6d37ae
treea753e8f43129b46b5c3537dc4ffe7b978a8ed27a
parent1e996cfbd0ab64e4d74d92a80ef3aefc39249462
Fix todo-mode item date editing bugs

* lisp/calendar/todo-mode.el (todo-edit-item--header): Prevent out of
range error by making sure the value of the numerical month date
component cannot be nil.  Prevent wrong type error on trying to edit
day number in February by making sure numerical instead of string
value of the year component is passed to todo-read-date.
(todo-read-date): When using the numerical month date component make
sure to use `*' for an arbitrary month instead of its numerical value.
lisp/calendar/todo-mode.el