diff options
| author | Stefan Kangas | 2024-07-16 04:53:38 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2024-07-16 10:08:15 +0200 |
| commit | 970409916e0dff9cd4d542f16f7d570149bdeeb1 (patch) | |
| tree | a8134301de1080f3808ae9a28740ca7ab70a6874 /src/process.c | |
| parent | 06ce99b76a8e5823f003f4e0dee945d97d0271ea (diff) | |
| download | emacs-970409916e0dff9cd4d542f16f7d570149bdeeb1.tar.gz emacs-970409916e0dff9cd4d542f16f7d570149bdeeb1.zip | |
Make error messages adhere to our standards
* src/cygw32.c (chdir_to_default_directory):
* src/fns.c (secure_hash):
* src/keyboard.c (Finternal_handle_focus_in):
* src/keymap.c (store_in_keymap):
* src/pgtkfns.c (pgtk_set_scroll_bar_foreground)
(pgtk_set_scroll_bar_background, Fx_export_frames)
(Fpgtk_set_monitor_scale_factor, pgtk_get_defaults_value)
(pgtk_set_defaults_value, Fpgtk_print_frames_dialog)
(pgtk_get_monitor_scale_factor):
* src/pgtkterm.c (pgtk_set_parent_frame):
* src/process.c (network_interface_info, send_process):
* src/w32.c (w32_read_registry):
* src/w32fns.c (Fw32_read_registry):
* src/window.c (Frecenter):
* src/xfns.c (Fx_export_frames, Fx_print_frames_dialog)
(x_set_mouse_color): Make 'error' message strings follow our guidelines.
More specifically, they should not end in a period, and normally also be
capitalized. See '(elisp) Programming Tips'.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c index 0167ceff7e0..93178eb241f 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -4471,7 +4471,7 @@ network_interface_info (Lisp_Object ifname) | |||
| 4471 | CHECK_STRING (ifname); | 4471 | CHECK_STRING (ifname); |
| 4472 | 4472 | ||
| 4473 | if (sizeof rq.ifr_name <= SBYTES (ifname)) | 4473 | if (sizeof rq.ifr_name <= SBYTES (ifname)) |
| 4474 | error ("interface name too long"); | 4474 | error ("Interface name too long"); |
| 4475 | lispstpcpy (rq.ifr_name, ifname); | 4475 | lispstpcpy (rq.ifr_name, ifname); |
| 4476 | 4476 | ||
| 4477 | s = socket (AF_INET, SOCK_STREAM | SOCK_CLOEXEC, 0); | 4477 | s = socket (AF_INET, SOCK_STREAM | SOCK_CLOEXEC, 0); |
| @@ -6853,7 +6853,7 @@ send_process (Lisp_Object proc, const char *buf, ptrdiff_t len, | |||
| 6853 | pset_status (p, list2 (Qexit, make_fixnum (256))); | 6853 | pset_status (p, list2 (Qexit, make_fixnum (256))); |
| 6854 | p->tick = ++process_tick; | 6854 | p->tick = ++process_tick; |
| 6855 | deactivate_process (proc); | 6855 | deactivate_process (proc); |
| 6856 | error ("process %s no longer connected to pipe; closed it", | 6856 | error ("Process %s no longer connected to pipe; closed it", |
| 6857 | SDATA (p->name)); | 6857 | SDATA (p->name)); |
| 6858 | } | 6858 | } |
| 6859 | else | 6859 | else |