]> git.eshelyaron.com Git - emacs.git/commit
Improve collecting of citation keys
authorArash Esbati <arash@gnu.org>
Mon, 8 Aug 2022 13:58:35 +0000 (15:58 +0200)
committerArash Esbati <arash@gnu.org>
Mon, 8 Aug 2022 14:02:18 +0000 (16:02 +0200)
commit7331ee112c107caaece87db9f65751f9cbcc01c3
tree80483161ebf0f2dfd246f307cf43468e6ad9bd0e
parent7f8a3d4e919e495fadb4eb6fae3f73556b987700
Improve collecting of citation keys

* lisp/textmodes/reftex-cite.el (reftex-all-used-citation-keys):
Improve regexp for matching various cite commands incl. optional
arguments.
Recognize comments more robustly and don't interpret the control
symbol \% as a comment starter.  (bug#56655)

* test/lisp/textmodes/reftex-tests.el
(reftex-all-used-citation-keys): New test.
lisp/textmodes/reftex-cite.el
test/lisp/textmodes/reftex-tests.el