aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2016-08-21 04:02:06 -0700
committerPaul Eggert2016-08-21 04:02:38 -0700
commitb1601a95ea6337abef04544c92552caa0a5bcbca (patch)
tree75f7e9568e167c19c1c9f71fe7dbd07c40eb7694
parent1a1062d6e16f97effa7030cc5f297c9c57b232ad (diff)
downloademacs-b1601a95ea6337abef04544c92552caa0a5bcbca.tar.gz
emacs-b1601a95ea6337abef04544c92552caa0a5bcbca.zip
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.
-rw-r--r--src/charset.c2
-rw-r--r--src/frame.c4
-rw-r--r--src/xselect.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/charset.c b/src/charset.c
index 05469aa2650..0c831f13591 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -1401,7 +1401,7 @@ check_iso_charset_parameter (Lisp_Object dimension, Lisp_Object chars,
1401 1401
1402 int final_ch = XFASTINT (final_char); 1402 int final_ch = XFASTINT (final_char);
1403 if (! ('0' <= final_ch && final_ch <= '~')) 1403 if (! ('0' <= final_ch && final_ch <= '~'))
1404 error ("Invalid FINAL-CHAR '%c', it should be '0'..'~'", final_ch); 1404 error ("Invalid FINAL-CHAR `%c', it should be `0'..`~'", final_ch);
1405 1405
1406 return chars_flag; 1406 return chars_flag;
1407} 1407}
diff --git a/src/frame.c b/src/frame.c
index e17c8acfc3c..dd9ad777ddf 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -2412,7 +2412,7 @@ store_frame_param (struct frame *f, Lisp_Object prop, Lisp_Object val)
2412 if (WINDOWP (val)) 2412 if (WINDOWP (val))
2413 { 2413 {
2414 if (!MINI_WINDOW_P (XWINDOW (val))) 2414 if (!MINI_WINDOW_P (XWINDOW (val)))
2415 error ("The 'minibuffer' parameter does not specify a valid minibuffer window"); 2415 error ("The `minibuffer' parameter does not specify a valid minibuffer window");
2416 else if (FRAME_MINIBUF_ONLY_P (f)) 2416 else if (FRAME_MINIBUF_ONLY_P (f))
2417 { 2417 {
2418 if (EQ (val, FRAME_MINIBUF_WINDOW (f))) 2418 if (EQ (val, FRAME_MINIBUF_WINDOW (f)))
@@ -2442,7 +2442,7 @@ store_frame_param (struct frame *f, Lisp_Object prop, Lisp_Object val)
2442 only nil was specified as new value. */ 2442 only nil was specified as new value. */
2443 val = old_val; 2443 val = old_val;
2444 else if (!EQ (old_val, val)) 2444 else if (!EQ (old_val, val))
2445 error ("Can't change the 'minibuffer' parameter of this frame"); 2445 error ("Can't change the `minibuffer' parameter of this frame");
2446 } 2446 }
2447 } 2447 }
2448 } 2448 }
diff --git a/src/xselect.c b/src/xselect.c
index 8de436f119d..616d12c7cab 100644
--- a/src/xselect.c
+++ b/src/xselect.c
@@ -2296,13 +2296,13 @@ x_fill_property_data (Display *dpy, Lisp_Object data, void *ret, int format)
2296 if (format == 8) 2296 if (format == 8)
2297 { 2297 {
2298 if ((1 << 8) < val && val <= X_ULONG_MAX - (1 << 7)) 2298 if ((1 << 8) < val && val <= X_ULONG_MAX - (1 << 7))
2299 error ("Out of 'char' range"); 2299 error ("Out of `char' range");
2300 *d08++ = val; 2300 *d08++ = val;
2301 } 2301 }
2302 else if (format == 16) 2302 else if (format == 16)
2303 { 2303 {
2304 if ((1 << 16) < val && val <= X_ULONG_MAX - (1 << 15)) 2304 if ((1 << 16) < val && val <= X_ULONG_MAX - (1 << 15))
2305 error ("Out of 'short' range"); 2305 error ("Out of `short' range");
2306 *d16++ = val; 2306 *d16++ = val;
2307 } 2307 }
2308 else 2308 else