diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/textmodes/reftex-toc.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/textmodes/reftex-toc.el b/lisp/textmodes/reftex-toc.el index 7ca2fb827e8..26ae8338283 100644 --- a/lisp/textmodes/reftex-toc.el +++ b/lisp/textmodes/reftex-toc.el | |||
| @@ -856,10 +856,10 @@ label prefix determines the wording of a reference." | |||
| 856 | (label (car toc)) newlabel) | 856 | (label (car toc)) newlabel) |
| 857 | (if (not (stringp label)) | 857 | (if (not (stringp label)) |
| 858 | (error "This is not a label entry")) | 858 | (error "This is not a label entry")) |
| 859 | (setq newlabel (read-string (format "Rename label \"%s\" to:" label))) | 859 | (setq newlabel (read-string (format "Rename label \"%s\" to :" label))) |
| 860 | (if (assoc newlabel (symbol-value reftex-docstruct-symbol)) | 860 | (if (assoc newlabel (symbol-value reftex-docstruct-symbol)) |
| 861 | (if (not (y-or-n-p | 861 | (if (not (y-or-n-p |
| 862 | (format-message "Label `%s' exists. Use anyway? " label))) | 862 | (format-message "Label `%s' exists. Use anyway? " newlabel))) |
| 863 | (error "Abort"))) | 863 | (error "Abort"))) |
| 864 | (save-excursion | 864 | (save-excursion |
| 865 | (save-window-excursion | 865 | (save-window-excursion |