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/keymap.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/keymap.c')
| -rw-r--r-- | src/keymap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keymap.c b/src/keymap.c index 0f50d804dff..f2a7e4006c3 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -749,7 +749,7 @@ store_in_keymap (Lisp_Object keymap, register Lisp_Object idx, | |||
| 749 | def = Fcons (XCAR (def), XCDR (def)); | 749 | def = Fcons (XCAR (def), XCDR (def)); |
| 750 | 750 | ||
| 751 | if (!CONSP (keymap) || !EQ (XCAR (keymap), Qkeymap)) | 751 | if (!CONSP (keymap) || !EQ (XCAR (keymap), Qkeymap)) |
| 752 | error ("attempt to define a key in a non-keymap"); | 752 | error ("Attempt to define a key in a non-keymap"); |
| 753 | 753 | ||
| 754 | /* If idx is a cons, and the car part is a character, idx must be of | 754 | /* If idx is a cons, and the car part is a character, idx must be of |
| 755 | the form (FROM-CHAR . TO-CHAR). */ | 755 | the form (FROM-CHAR . TO-CHAR). */ |