summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2014-02-10 14:15:54 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2014-02-10 14:15:54 -0800
commite41fe0d346d78ea5e352a04a943fadadb46231ac (patch)
tree19cafac4ea20dcf63fff294cd35856fb4b137593
parentbacb3380374de28c8ed982994ebe55b06d43294a (diff)
downloademacs-e41fe0d346d78ea5e352a04a943fadadb46231ac.tar.gz
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.
-rw-r--r--src/ChangeLog10
-rw-r--r--src/cmds.c3
-rw-r--r--src/font.c2
-rw-r--r--src/nsfns.m2
-rw-r--r--src/nsselect.m2
-rw-r--r--src/nsterm.m2
6 files changed, 15 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index fef7cf0e47f..5583e1a7b69 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -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
diff --git a/src/cmds.c b/src/cmds.c
index 03ce54c8ee4..fdc3fcac281 100644
--- a/src/cmds.c
+++ b/src/cmds.c
@@ -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;
diff --git a/src/font.c b/src/font.c
index fa097c7d7e6..8027de81609 100644
--- a/src/font.c
+++ b/src/font.c
@@ -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));
diff --git a/src/nsfns.m b/src/nsfns.m
index 90ca37ba956..1dad651c7ae 100644
--- a/src/nsfns.m
+++ b/src/nsfns.m
@@ -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;
diff --git a/src/nsselect.m b/src/nsselect.m
index 4cf81ed4f69..f4713cb5e10 100644
--- a/src/nsselect.m
+++ b/src/nsselect.m
@@ -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;
diff --git a/src/nsterm.m b/src/nsterm.m
index 36f42ee179a..ff20ea35ebf 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -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;
}
}