Apply the link templates.
This commit is contained in:
@@ -2771,13 +2771,13 @@ fn compare_regular_link<'b, 's>(
|
||||
(
|
||||
EmacsField::Required(":type"),
|
||||
|r| {
|
||||
match r.link_type {
|
||||
LinkType::File => Some("file"),
|
||||
LinkType::Protocol(protocol) => Some(protocol),
|
||||
LinkType::Id => Some("id"),
|
||||
LinkType::CustomId => Some("custom-id"),
|
||||
LinkType::CodeRef => Some("coderef"),
|
||||
LinkType::Fuzzy => Some("fuzzy"),
|
||||
match &r.link_type {
|
||||
LinkType::File => Some(Cow::Borrowed("file")),
|
||||
LinkType::Protocol(protocol) => Some(protocol.clone()),
|
||||
LinkType::Id => Some(Cow::Borrowed("id")),
|
||||
LinkType::CustomId => Some(Cow::Borrowed("custom-id")),
|
||||
LinkType::CodeRef => Some(Cow::Borrowed("coderef")),
|
||||
LinkType::Fuzzy => Some(Cow::Borrowed("fuzzy")),
|
||||
}
|
||||
},
|
||||
compare_property_quoted_string
|
||||
|
||||
Reference in New Issue
Block a user