]> git.eshelyaron.com Git - emacs.git/commit
Update todo-mode defcustoms in a less hideous way
authorStephen Berman <stephen.berman@gmx.net>
Tue, 1 Aug 2017 12:17:44 +0000 (14:17 +0200)
committerStephen Berman <stephen.berman@gmx.net>
Tue, 1 Aug 2017 12:17:44 +0000 (14:17 +0200)
commit4ddc5645606478725ae0c27c85aa3c5dca6360d6
tree5f1edc45e51176d963f8c2d4e25db7a95db9b7dd
parentcb764acce7c572aba093fa61baf26d5f5babcdca
Update todo-mode defcustoms in a less hideous way

* lisp/calendar/todo-mode.el (todo-reevaluate-filelist-defcustoms)
(todo-reevaluate-default-file-defcustom)
(todo-reevaluate-category-completions-files-defcustom)
(todo-reevaluate-filter-files-defcustom): Delete these functions.
(todo-update-filelist-defcustoms): New function.  This replaces
todo-reevaluate-filelist-defcustoms, using the 'custom-type'
property instead of re-evaluating the defcustoms.
(todo-add-file, todo-rename-file, todo-delete-file)
(todo-delete-category, todo-move-category)
(todo-convert-legacy-files, todo-check-file): Replace call of
todo-reevaluate-filelist-defcustoms by
todo-update-filelist-defcustoms.
(todo-show, todo-category-completions): Replace call of
todo-reevaluate-* function by use of 'custom-type' property.
lisp/calendar/todo-mode.el