diff options
| author | Glenn Morris | 2021-10-08 07:50:28 -0700 |
|---|---|---|
| committer | Glenn Morris | 2021-10-08 07:50:28 -0700 |
| commit | 2bc37c14dbdf3fdf337862caa31fabfe69476e70 (patch) | |
| tree | 202441d8497712242e0c3c1f5d8a2c3bd6e40f5e /lisp/textmodes | |
| parent | b506c5b217d4adf68013c15be0d1b16189de089b (diff) | |
| parent | af01b674cec1ea7e9dd801f40c1ca8221f5cc8da (diff) | |
| download | emacs-2bc37c14dbdf3fdf337862caa31fabfe69476e70.tar.gz emacs-2bc37c14dbdf3fdf337862caa31fabfe69476e70.zip | |
Merge from origin/emacs-28
af01b674ce (origin/emacs-28) ; Fix spacing in previous commit
915e044d60 Use the correct label in the warning
6e83a4100a ; * admin/make-tarball.txt: Should configure --with-native...
525602d682 ; * etc/TODO (display): Add entry about Default_Ignorables.
65de510c16 ; Fix 'restore-buffer-modified-p' doc string typo
9d8202b45e Add Emacs 27 compatibility hack
89d64fca75 Pacify GCC 10.3 -Wmaybe-uninitialized
bb8ef1aa30 * lisp/tab-bar.el (tab-detach, tab-window-detach): New ali...
7ae70054aa ; * src/composite.h (LGSTRING_FONT): Add comment about its...
1af00e67d6 Include the refcards in the release tarball
3c29fb705c ; * src/Makefile.in (../native-lisp): Make the long recipe...
Diffstat (limited to 'lisp/textmodes')
| -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..b5f53ba86e7 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 |