diff options
Diffstat (limited to 'lisp/calendar/todo-mode.el')
-rw-r--r-- | lisp/calendar/todo-mode.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/calendar/todo-mode.el b/lisp/calendar/todo-mode.el index 925d00866d1..83f2fedf25b 100644 --- a/lisp/calendar/todo-mode.el +++ b/lisp/calendar/todo-mode.el @@ -237,7 +237,8 @@ The final element is \"*\", indicating an unspecified month.") (when (string= (widget-value widget) todo-item-mark) (widget-put widget :error - "Invalid value: must be distinct from ‘todo-item-mark’") + (format-message + "Invalid value: must be distinct from ‘todo-item-mark’")) widget))) :initialize 'custom-initialize-default :set 'todo-reset-prefix @@ -1694,7 +1695,8 @@ only when no items are marked." (when (string= (widget-value widget) todo-prefix) (widget-put widget :error - "Invalid value: must be distinct from ‘todo-prefix’") + (format-message + "Invalid value: must be distinct from ‘todo-prefix’")) widget))) :set (lambda (symbol value) (custom-set-default symbol (propertize value 'face 'todo-mark))) |