From 15b050eca91bc1da879acf5fabdc7f7d9c326008 Mon Sep 17 00:00:00 2001 From: "(tiny change) Arash Esbati" Date: Fri, 4 Dec 2015 21:13:11 +0100 Subject: [PATCH] Fix wrong-type-argument integer-or-marker-p nil error * lisp/textmodes/reftex-auc.el (reftex-what-index-tag): Fix (wrong-type-argument integer-or-marker-p nil) error (bug#22077). Copyright-paperwork-exempt: yes --- lisp/textmodes/reftex-auc.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/textmodes/reftex-auc.el b/lisp/textmodes/reftex-auc.el index bbad065c4ba..151be592367 100644 --- a/lisp/textmodes/reftex-auc.el +++ b/lisp/textmodes/reftex-auc.el @@ -137,7 +137,7 @@ argument identify one of multiple indices." ((stringp tag) tag) ((integerp tag) (save-excursion - (goto-char (match-end 1)) + (goto-char (match-end 0)) (or (reftex-nth-arg tag (nth 6 entry)) "idx"))) (t "idx"))))) -- 2.39.2