aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim F. Storm2005-09-12 10:26:15 +0000
committerKim F. Storm2005-09-12 10:26:15 +0000
commitfa056b08ee30e3716413c7baf80df0b42cec95c3 (patch)
treed62bf7d9fe64215f195b31602f0d042dec299557 /src
parent18bb66c7bc062d02354eff1e05f5e09a72696810 (diff)
downloademacs-fa056b08ee30e3716413c7baf80df0b42cec95c3.tar.gz
emacs-fa056b08ee30e3716413c7baf80df0b42cec95c3.zip
(Ftranslate_region_internal): Reload `tt' after
signal_after_change that may have GC'ed. (Fmessage, Fmessage_box, Fmessage_or_box): Doc fix.
Diffstat (limited to 'src')
-rw-r--r--src/editfns.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/editfns.c b/src/editfns.c
index a05d2396448..e67e56d2efa 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -2857,6 +2857,8 @@ It returns the number of characters changed. */)
2857 { 2857 {
2858 if (tt) 2858 if (tt)
2859 { 2859 {
2860 /* Reload as signal_after_change in last iteration may GC. */
2861 tt = SDATA (table);
2860 if (string_multibyte) 2862 if (string_multibyte)
2861 { 2863 {
2862 str = tt + string_char_to_byte (table, oc); 2864 str = tt + string_char_to_byte (table, oc);
@@ -3118,8 +3120,9 @@ The message also goes into the `*Messages*' buffer.
3118The first argument is a format control string, and the rest are data 3120The first argument is a format control string, and the rest are data
3119to be formatted under control of the string. See `format' for details. 3121to be formatted under control of the string. See `format' for details.
3120 3122
3121If the first argument is nil, the function clears any existing message; 3123If the first argument is nil or the empty string, the function clears
3122this lets the minibuffer contents show. See also `current-message'. 3124any existing message; this lets the minibuffer contents show. See
3125also `current-message'.
3123 3126
3124usage: (message STRING &rest ARGS) */) 3127usage: (message STRING &rest ARGS) */)
3125 (nargs, args) 3128 (nargs, args)
@@ -3148,8 +3151,8 @@ If a dialog box is not available, use the echo area.
3148The first argument is a format control string, and the rest are data 3151The first argument is a format control string, and the rest are data
3149to be formatted under control of the string. See `format' for details. 3152to be formatted under control of the string. See `format' for details.
3150 3153
3151If the first argument is nil, clear any existing message; let the 3154If the first argument is nil or the empty string, clear any existing
3152minibuffer contents show. 3155message; let the minibuffer contents show.
3153 3156
3154usage: (message-box STRING &rest ARGS) */) 3157usage: (message-box STRING &rest ARGS) */)
3155 (nargs, args) 3158 (nargs, args)
@@ -3210,8 +3213,8 @@ Otherwise, use the echo area.
3210The first argument is a format control string, and the rest are data 3213The first argument is a format control string, and the rest are data
3211to be formatted under control of the string. See `format' for details. 3214to be formatted under control of the string. See `format' for details.
3212 3215
3213If the first argument is nil, clear any existing message; let the 3216If the first argument is nil or the empty string, clear any existing
3214minibuffer contents show. 3217message; let the minibuffer contents show.
3215 3218
3216usage: (message-or-box STRING &rest ARGS) */) 3219usage: (message-or-box STRING &rest ARGS) */)
3217 (nargs, args) 3220 (nargs, args)