mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
Minor text-quoting-style fixes
* src/charset.c (check_iso_charset_parameter): * src/frame.c (store_frame_param): * src/xselect.c (x_fill_property_data): Use grave accent for left single quote in ‘error’ format strings.
This commit is contained in:
parent
1a1062d6e1
commit
b1601a95ea
@ -1401,7 +1401,7 @@ check_iso_charset_parameter (Lisp_Object dimension, Lisp_Object chars,
|
||||
|
||||
int final_ch = XFASTINT (final_char);
|
||||
if (! ('0' <= final_ch && final_ch <= '~'))
|
||||
error ("Invalid FINAL-CHAR '%c', it should be '0'..'~'", final_ch);
|
||||
error ("Invalid FINAL-CHAR `%c', it should be `0'..`~'", final_ch);
|
||||
|
||||
return chars_flag;
|
||||
}
|
||||
|
@ -2412,7 +2412,7 @@ store_frame_param (struct frame *f, Lisp_Object prop, Lisp_Object val)
|
||||
if (WINDOWP (val))
|
||||
{
|
||||
if (!MINI_WINDOW_P (XWINDOW (val)))
|
||||
error ("The 'minibuffer' parameter does not specify a valid minibuffer window");
|
||||
error ("The `minibuffer' parameter does not specify a valid minibuffer window");
|
||||
else if (FRAME_MINIBUF_ONLY_P (f))
|
||||
{
|
||||
if (EQ (val, FRAME_MINIBUF_WINDOW (f)))
|
||||
@ -2442,7 +2442,7 @@ store_frame_param (struct frame *f, Lisp_Object prop, Lisp_Object val)
|
||||
only nil was specified as new value. */
|
||||
val = old_val;
|
||||
else if (!EQ (old_val, val))
|
||||
error ("Can't change the 'minibuffer' parameter of this frame");
|
||||
error ("Can't change the `minibuffer' parameter of this frame");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2296,13 +2296,13 @@ x_fill_property_data (Display *dpy, Lisp_Object data, void *ret, int format)
|
||||
if (format == 8)
|
||||
{
|
||||
if ((1 << 8) < val && val <= X_ULONG_MAX - (1 << 7))
|
||||
error ("Out of 'char' range");
|
||||
error ("Out of `char' range");
|
||||
*d08++ = val;
|
||||
}
|
||||
else if (format == 16)
|
||||
{
|
||||
if ((1 << 16) < val && val <= X_ULONG_MAX - (1 << 15))
|
||||
error ("Out of 'short' range");
|
||||
error ("Out of `short' range");
|
||||
*d16++ = val;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user