emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master b1601a9: Minor text-quoting-style fixes


From: Paul Eggert
Subject: [Emacs-diffs] master b1601a9: Minor text-quoting-style fixes
Date: Sun, 21 Aug 2016 11:02:41 +0000 (UTC)

branch: master
commit b1601a95ea6337abef04544c92552caa0a5bcbca
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    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.
---
 src/charset.c |    2 +-
 src/frame.c   |    4 ++--
 src/xselect.c |    4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/charset.c b/src/charset.c
index 05469aa..0c831f1 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -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;
 }
diff --git a/src/frame.c b/src/frame.c
index e17c8ac..dd9ad77 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)
       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");
            }
        }
     }
diff --git a/src/xselect.c b/src/xselect.c
index 8de436f..616d12c 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)
       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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]