diff --git a/src/compare/diff.rs b/src/compare/diff.rs index 16c62e0..687bda5 100644 --- a/src/compare/diff.rs +++ b/src/compare/diff.rs @@ -605,6 +605,8 @@ fn new_compare_heading<'b, 's>( let mut child_status = Vec::new(); let mut message = None; + // TODO: This needs to support additional properties from the property drawer + compare_children( source, emacs, @@ -684,17 +686,17 @@ fn new_compare_heading<'b, 's>( compare_property_boolean ), ( - EmacsField::Required(":scheduled"), + EmacsField::Optional(":scheduled"), |r| r.scheduled.as_ref(), compare_property_single_ast_node ), ( - EmacsField::Required(":deadline"), + EmacsField::Optional(":deadline"), |r| r.deadline.as_ref(), compare_property_single_ast_node ), ( - EmacsField::Required(":closed"), + EmacsField::Optional(":closed"), |r| r.closed.as_ref(), compare_property_single_ast_node ),