]> git.eshelyaron.com Git - emacs.git/commitdiff
Avoid "." at end of error diagnostics.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 10 Feb 2014 22:15:54 +0000 (14:15 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 10 Feb 2014 22:15:54 +0000 (14:15 -0800)
* 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.

src/ChangeLog
src/cmds.c
src/font.c
src/nsfns.m
src/nsselect.m
src/nsterm.m

index fef7cf0e47f5cb9d5aea188a6a481a517912a9b0..5583e1a7b69556f517e8d4f966237a8821fd38f2 100644 (file)
@@ -1,3 +1,13 @@
+2014-02-10  Paul Eggert  <eggert@cs.ucla.edu>
+
+       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  <larsi@gnus.org>
 
        * fns.c (Fmaphash): Say what `maphash' returns, since it may be
index 03ce54c8ee4ff7842968a69b0dca81201ad84114..fdc3fcac2815fe594329541f84ef0cfce918cbf4 100644 (file)
@@ -280,8 +280,7 @@ At the end, it runs `post-self-insert-hook'.  */)
   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;
index fa097c7d7e6b1b1244dcdbe2c1ff5ce13a92aee7..8027de81609080c8ea7936523359db5dd46bdbb3 100644 (file)
@@ -4785,7 +4785,7 @@ character at index specified by POSITION.  */)
   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));
index 90ca37ba95647db022e7c6f5220924632eba78ea..1dad651c7ae233bd19ca29a4b264e73761bbf208 100644 (file)
@@ -183,7 +183,7 @@ ns_display_info_for_name (Lisp_Object name)
     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;
index 4cf81ed4f69274c79dd296f7774e826571a1f6cc..f4713cb5e10c3e053740688af76e860d09f7856e 100644 (file)
@@ -351,7 +351,7 @@ On Nextstep, FRAME is unused.  */)
   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;
 
index 36f42ee179a075f38d509c5e24b155e5793c0d78..ff20ea35ebff582137a277dbb84dc706417335ae 100644 (file)
@@ -6786,7 +6786,7 @@ if (cols > 0 && rows > 0)
     }
   else
     {
-      error ("Invalid data type in dragging pasteboard.");
+      error ("Invalid data type in dragging pasteboard");
       return NO;
     }
 }