cur.noScreenUpdate();
break;
}
+
+ cur.recordUndo();
+
docstring const & old_key = params()["key"];
docstring const & old_label = params()["label"];
docstring label = p["label"];
} else {
autolabel_ = from_ascii("??");
}
- if (!buffer().isBibInfoCacheValid()) {
- docstring const key = getParam("key");
- BibTeXInfo keyvalmap(false);
- keyvalmap.label(bibLabel());
- keyvalmap[from_ascii("ref")] = it.paragraph().asString();
- buffer().addBibTeXInfo(key, keyvalmap);
- }
}