emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] trunk r116404: Avoid "." at end of error diagnostics.


From: Paul Eggert
Subject: [Emacs-diffs] trunk r116404: Avoid "." at end of error diagnostics.
Date: Mon, 10 Feb 2014 22:15:57 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 116404
revision-id: address@hidden
parent: address@hidden
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Mon 2014-02-10 14:15:54 -0800
message:
  Avoid "." at end of error diagnostics.
  
  * cmds.c (Fself_insert_command): Reword and avoid "." at end.
  * font.c (Ffont_at):
  * nsfns.m (ns_display_info_for_name):
  * nsselect.m (Fx_own_selection_internal):
  * nsterm.m (performDragOperation:):
  Remove "." from end of diagnostic.
modified:
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/cmds.c                     cmds.c-20091113204419-o5vbwnq5f7feedwu-214
  src/font.c                     font.c-20091113204419-o5vbwnq5f7feedwu-8540
  src/nsfns.m                    nsfns.m-20091113204419-o5vbwnq5f7feedwu-8741
  src/nsselect.m                 nsselect.m-20091113204419-o5vbwnq5f7feedwu-8745
  src/nsterm.m                   nsterm.m-20091113204419-o5vbwnq5f7feedwu-8747
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2014-02-10 09:48:17 +0000
+++ b/src/ChangeLog     2014-02-10 22:15:54 +0000
@@ -1,3 +1,13 @@
+2014-02-10  Paul Eggert  <address@hidden>
+
+       Avoid "." at end of error diagnostics.
+       * cmds.c (Fself_insert_command): Reword and avoid "." at end.
+       * font.c (Ffont_at):
+       * nsfns.m (ns_display_info_for_name):
+       * nsselect.m (Fx_own_selection_internal):
+       * nsterm.m (performDragOperation:):
+       Remove "." from end of diagnostic.
+
 2014-02-10  Lars Ingebrigtsen  <address@hidden>
 
        * fns.c (Fmaphash): Say what `maphash' returns, since it may be

=== modified file 'src/cmds.c'
--- a/src/cmds.c        2014-02-10 05:41:42 +0000
+++ b/src/cmds.c        2014-02-10 22:15:54 +0000
@@ -280,8 +280,7 @@
   CHECK_NUMBER (n);
 
   if (XFASTINT (n) < 1)
-    error ("Repetition argument is %"pI"d, but must be higher than 0.",
-          XFASTINT (n));
+    error ("Nonpositive repetition argument %"pI"d", XFASTINT (n));
 
   if (!EQ (Vthis_command, KVAR (current_kboard, Vlast_command)))
     nonundocount = 0;

=== modified file 'src/font.c'
--- a/src/font.c        2014-01-10 07:10:37 +0000
+++ b/src/font.c        2014-02-10 22:15:54 +0000
@@ -4785,7 +4785,7 @@
   if (NILP (string))
     {
       if (XBUFFER (w->contents) != current_buffer)
-       error ("Specified window is not displaying the current buffer.");
+       error ("Specified window is not displaying the current buffer");
       CHECK_NUMBER_COERCE_MARKER (position);
       if (! (BEGV <= XINT (position) && XINT (position) < ZV))
        args_out_of_range_3 (position, make_number (BEGV), make_number (ZV));

=== modified file 'src/nsfns.m'
--- a/src/nsfns.m       2014-01-01 07:43:34 +0000
+++ b/src/nsfns.m       2014-02-10 22:15:54 +0000
@@ -183,7 +183,7 @@
     if (!NILP (Fstring_equal (XCAR (dpyinfo->name_list_element), name)))
       return dpyinfo;
 
-  error ("Emacs for OpenStep does not yet support multi-display.");
+  error ("Emacs for OpenStep does not yet support multi-display");
 
   Fx_open_connection (name, Qnil, Qnil);
   dpyinfo = x_display_list;

=== modified file 'src/nsselect.m'
--- a/src/nsselect.m    2014-01-01 07:43:34 +0000
+++ b/src/nsselect.m    2014-02-10 22:15:54 +0000
@@ -351,7 +351,7 @@
   check_window_system (NULL);
   CHECK_SYMBOL (selection);
   if (NILP (value))
-      error ("selection value may not be nil.");
+    error ("Selection value may not be nil");
   pb = ns_symbol_to_pb (selection);
   if (pb == nil) return Qnil;
 

=== modified file 'src/nsterm.m'
--- a/src/nsterm.m      2014-02-07 03:25:52 +0000
+++ b/src/nsterm.m      2014-02-10 22:15:54 +0000
@@ -6786,7 +6786,7 @@
     }
   else
     {
-      error ("Invalid data type in dragging pasteboard.");
+      error ("Invalid data type in dragging pasteboard");
       return NO;
     }
 }


reply via email to

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