From: (tiny change) Arash Esbati Date: Fri, 4 Dec 2015 20:13:11 +0000 (+0100) Subject: Fix wrong-type-argument integer-or-marker-p nil error X-Git-Tag: emacs-25.0.90~544 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=15b050eca91bc1da879acf5fabdc7f7d9c326008;p=emacs.git 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 --- 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")))))