Commit e41fe0d3 authored by Paul Eggert's avatar Paul Eggert

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.
parent bacb3380
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
......
......@@ -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;
......
......@@ -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));
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment