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
This commit is contained in:
(tiny change) Arash Esbati 2015-12-04 21:13:11 +01:00 committed by Tassilo Horn
parent c2917b02bf
commit 15b050eca9

View file

@ -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")))))