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.
This commit is contained in:
Paul Eggert 2014-02-10 14:15:54 -08:00
parent bacb338037
commit e41fe0d346
6 changed files with 15 additions and 6 deletions

View 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

View 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;

View 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));

View file

@ -183,7 +183,7 @@ Updated by Christian Limpach (chris@nice.ch)
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;

View file

@ -351,7 +351,7 @@ Updated by Christian Limpach (chris@nice.ch)
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;

View file

@ -6786,7 +6786,7 @@ -(BOOL)performDragOperation: (id <NSDraggingInfo>) sender
}
else
{
error ("Invalid data type in dragging pasteboard.");
error ("Invalid data type in dragging pasteboard");
return NO;
}
}